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.time.LocalDateTime;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-12-12 13:44:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireRecordId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String fireRecordId;
    @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 = "检查表名字", name = "fireCheckName", required = true)
    @NotEmpty(message = "检查表名字不能为空")
    private String fireCheckName;

    @ApiModelProperty(value = "检查时间", name = "checkTime", required = true)
    @NotEmpty(message = "检查时间不能为空")
    private LocalDateTime checkTime;
    @ApiModelProperty(value = "是否完成,0否1是", name = "finishedFlag", required = true)
    @NotNull(message = "是否完成,0否1是不能为空")
    private Integer finishedFlag;
    @ApiModelProperty(value = "检查周期开始时间", name = "periodStart", required = true)
    @NotEmpty(message = "检查周期开始时间不能为空")
    private LocalDateTime periodStart;
    @ApiModelProperty(value = "检查周期结束时间", name = "periodEnd", required = true)
    @NotEmpty(message = "检查周期结束时间不能为空")
    private LocalDateTime periodEnd;
    @ApiModelProperty(value = "签字url", name = "signUrl", required = true)
    @NotEmpty(message = "签字url不能为空")
    private String signUrl;

}

