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;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-12-12 13:44:44
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordHiddenUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireRecordHiddenId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String fireRecordHiddenId;
    @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
    @NotNull(message = "企业id不能为空")
    private Long corpinfoId;
    @ApiModelProperty(value = "检查表id", name = "fireCheckId", required = true)
    @NotEmpty(message = "检查表id不能为空")
    private String fireCheckId;
    @ApiModelProperty(value = "检查详情id", name = "fireCheckListItemId", required = true)
    @NotEmpty(message = "检查详情id不能为空")
    private String fireCheckListItemId;
    @ApiModelProperty(value = "检查记录表id", name = "fireRecordId", required = true)
    @NotEmpty(message = "检查记录表id不能为空")
    private String fireRecordId;
    //检查记录点位表id
    @ApiModelProperty(value = "检查记录点位表id")
    private String fireRecordPointId;
    //检查记录设备表id
    @ApiModelProperty(value = "检查记录设备表id")
    private String fireRecordDeviceId;
    @ApiModelProperty(value = "隐患id", name = "hiddenId", required = true)
    @NotEmpty(message = "隐患id不能为空")
    private String hiddenId;
    @ApiModelProperty(value = "隐患类型,检查项隐患1,还是其他隐患2", name = "hiddenCheckType", required = true)
    @NotNull(message = "隐患类型,检查项隐患1,还是其他隐患2不能为空")
    private Integer hiddenCheckType;
    @ApiModelProperty(value = "隐患描述", name = "hiddenDesc", required = true)
    @NotEmpty(message = "隐患描述不能为空")
    private String hiddenDesc;
}

