package com.yuchen.saas.park.api.dto.fire.fight;

import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * @author zhouhanwei
 * @create 2024/4/29 15:10
 */
@Data
public class FireFightShiftPlanSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    @NotNull(message = "请选择项目")
    private Long projectId;
    /**
     * 班次编号
     */
    @ApiModelProperty(name = "shiftName", value = "班次编号")
    @NotBlank(message = "班次编号不能为空")
    private String shiftName;
    /**
     * 班次开始时间
     */
    @ApiModelProperty(name = "startTime", value = "班次开始时间")
    @NotBlank(message = "班次开始时间不能为空")
    private String startTime;
    /**
     * 班次结束时间
     */
    @ApiModelProperty(name = "endTime", value = "班次结束时间")
    @NotBlank(message = "班次结束时间不能为空")
    private String endTime;
    /**
     * 星期一排班人员
     */
    @ApiModelProperty(name = "monday", value = "星期一排班人员")
    @NotBlank(message = "星期一排班人员不能为空")
    private String monday;
    /**
     * 星期二排班人员
     */
    @ApiModelProperty(name = "tuesday", value = "星期二排班人员")
    @NotBlank(message = "星期二排班人员不能为空")
    private String tuesday;
    /**
     * 星期三排班人员
     */
    @ApiModelProperty(name = "wednesday", value = "星期三排班人员")
    @NotBlank(message = "星期三排班人员不能为空")
    private String wednesday;
    /**
     * 星期四排班人员
     */
    @ApiModelProperty(name = "thursday", value = "星期四排班人员")
    @NotBlank(message = "星期四排班人员不能为空")
    private String thursday;
    /**
     * 星期五排班人员
     */
    @ApiModelProperty(name = "friday", value = "星期五排班人员")
    @NotBlank(message = "星期五排班人员不能为空")
    private String friday;
    /**
     * 星期六排班人员
     */
    @ApiModelProperty(name = "saturday", value = "星期六排班人员")
    @NotBlank(message = "星期六排班人员不能为空")
    private String saturday;
    /**
     * 星期天排班人员
     */
    @ApiModelProperty(name = "sunday", value = "星期天排班人员")
    @NotBlank(message = "星期天排班人员不能为空")
    private String sunday;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
}
