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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.tashow.cloud.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.tashow.cloud.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@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 Boolean dateType;

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

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

    @Schema(description = "收费方式")
    private String chargeMode;

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

    @Schema(description = "是否启用该规则")
    private Boolean isEnabled;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;

}