package com.tashow.cloud.productapi.api.product.vo.prodadditionalfeeperiods;

import com.tashow.cloud.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 特殊时段附加费用规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProdAdditionalFeePeriodsPageReqVO extends PageParam {

    @Schema(description = "商品ID", example = "11100")
    private Long prodId;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "特殊时段设置（JSON格式存储）")
    private String specialTimeSlots;

    @Schema(description = "收费方式0:'固定金额',1:'基准价上浮'")
    private Integer chargeMode;

    @Schema(description = "价格或上浮百分比", example = "20834")
    private BigDecimal price;

    @Schema(description = "浮动百分比")
    private BigDecimal floatingPercentage;


}