package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeliveryTimeRequest对象", description="DeliveryTimeRequest对象")
public class DeliveryTimeRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 预约配送天数
     */
    @ApiModelProperty(value = "类型: 1-平台通用，2指定门店")
    private Integer appointDay;
    /**
     * 上午配送时间(9点-12点)
     */
    @ApiModelProperty(value = "类型: 1-平台通用，2指定门店")
    private String amSendHour;
    /**
     * 下午配送时间(15点-19点)
     */
    @ApiModelProperty(value = "下午配送时间")
    private String pmSendHour;
    /**
     * 配送区间(分钟)
     */
    @ApiModelProperty(value = "配送区间(分钟)")
    private Integer sendSplit;
    /**
     * 1通用，2门店指定
     */
    @ApiModelProperty(value = "类型: 1-平台通用，2指定门店")
    private Integer type;
    /**
     * 门店编号
     */
    @ApiModelProperty(value = "门店编号")
    private Integer storeId;
    /**
     * 是否无效
     */
    @ApiModelProperty(value = "是否无效 0无效，1有效")
    private Integer status;

}
