package com.cool.store.request.close.store;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author suzhuhong
 * @Date 2025/9/23 15:57
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CloseStoreApplyRequest {

    @ApiModelProperty("计划关店时间")
    @NotNull(message = "计划关店时间不能为空")
    private Date planCloseDate;

    @ApiModelProperty("关店原因")
    @NotNull(message = "闭店原因不能为空")
    private Integer closeReason;

    @ApiModelProperty("闭店原因说明")
    private String reasonDescription;

    @ApiModelProperty(value = "闭店发起方式", hidden = true)
    private Integer closeType;

    @ApiModelProperty("门店id")
    @NotBlank(message = "门店id不能为空")
    private String storeId;

}
