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

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 ProdAdditionalFeeDatesPageReqVO extends PageParam {

    @Schema(description = "商品id", example = "24324")
    private Long prodId;

    @Schema(description = "名称", example = "赵六")
    private String name;

    @Schema(description = "日期类型0：'自定义日期范围':1：'指定日期':2：'法定节假日',3：'固定休息日'", example = "2")
    private Integer dateType;

    @Schema(description = "自定义日期时间段（JSON格式存储）")
    private String customTimeSlots;

    @Schema(description = "指定日期（JSON格式存储）")
    private String specificDates;

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

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

    @Schema(description = "是否启用该规则是否启用该规则0关1开")
    private Integer isEnabled;


}