package com.liquidnet.service.goblin.dto.manage;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.liquidnet.commons.lang.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * <p>
 * 预约表
 * </p>
 *
 * @author liquidnet
 * @since 2022-04-07
 */
@ApiModel(value = "GoblinGoodsAnticipateValueParam", description = "获取预约")
@Data
public class GoblinGoodsAnticipateValueParam {

    @ApiModelProperty(position = 11, required = true, value = "当前记录起始索引", example = "1")
    @Min(value = 1, message = "起始索引无效")
    @NotNull(message = "起始索引无效")
    private Integer pageNum;
//    @ApiModelProperty(position = 12, required = true, value = "每页显示记录数", example = "20")
//    @Max(value = 100, message = "显示记录数无效")
//    @NotNull(message = "显示记录数无效")
//    private Integer pageSize;

    /**
     * 预约开始时间
     */
    @ApiModelProperty(position = 18, required = false, value = "预约开始时间")
    private String aboutStartDate;

    /**
     * 预约结束时间
     */
    @ApiModelProperty(position = 18, required = false, value = "预约结束时间")
    private String aboutEndDate;

    /**
     * 预约名称
     */
    @ApiModelProperty("sku名称")
    private String name;

    @ApiModelProperty(position = 18, required = false, value = "创建日期")
    private String createdDate;

    @ApiModelProperty(value = "预约类型（1：预约提醒，2：预约获得购买资格）")
    private Integer type;


}
