package com.zcloud.fire.check.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-11-28 10:32:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckListAddCmd extends Command {


    @ApiModelProperty(value = "检查表名字", name = "fireCheckName", required = true)
    @NotEmpty(message = "检查表名字不能为空")
    private String fireCheckName;

    @ApiModelProperty(value = "检查表类型", name = "fireCheckType", required = true)
    @NotEmpty(message = "检查表类型不能为空")
    private String fireCheckType;

    @ApiModelProperty(value = "检查表类型名称", name = "fireCheckTypeName", required = true)
    @NotEmpty(message = "检查表类型名称不能为空")
    private String fireCheckTypeName;
    @ApiModelProperty(value = "负责部门", name = "departmentId", required = true)
    private Long departmentId;
     @ApiModelProperty(value = "负责用户id集合", name = "userIdList", required = true)
    private List<Long> userIdList;
    @ApiModelProperty(value = "检查照片上传方式（1相机照相，2相册获取）", name = "photoUploadMethod", required = true)
    @NotNull(message = "检查照片上传方式不能为空")
    private Integer photoUploadMethod;

    @ApiModelProperty(value = "检查器材集合", name = "fireCheckListItemAddCmdList", required = true)
    private List<FireCheckListItemAddCmd> fireCheckListItemAddCmdList;
}

