package com.cool.store.request.closeup;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * <p>
 * 歇业申请Request
 * </p>
 *
 * @author wangff
 * @since 2026/4/8
 */
@Data
public class CloseUpApplyRequest {
    @ApiModelProperty("申请单id")
    private Long id;

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

    @ApiModelProperty("计划歇业日期")
    @NotNull(message = "计划歇业日期不能为空")
    private Date planCloseDate;

    @ApiModelProperty("计划开业日期")
    @NotNull(message = "计划开业日期不能为空")
    private Date planOpenDate;

    @ApiModelProperty("原因说明")
    @NotBlank(message = "原因说明不能为空")
    private String reason;

    @ApiModelProperty("附件列表，逗号分割")
    private String urls;
}
