package com.zcloud.fire.check.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zcloud.gbscommon.zcloudhidden.request.HiddenAddCmd;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-11-28 10:32:09
 */
@Data
public class AppCheckRecordAddCmd implements Serializable {

    @ApiModelProperty(value = "检查记录表id", name = "fireRecordId")
    @NotEmpty(message = "检查记录信息不能为空")
    private String fireRecordId;


    @ApiModelProperty(value = "检查时间", name = "checkTime", required = true)
    @NotEmpty(message = "检查时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime checkTime;


    //描述
    @ApiModelProperty(value = "描述", name = "remarks")
    private String remarks;



    @ApiModelProperty(value = "签字url", name = "signUrl", required = true)
    @NotEmpty(message = "签字url不能为空")
    private String signUrl;

    //检查人信息
    @ApiModelProperty(value = "检查人信息", name = "fireCheckRecordUserAddCmdList")
    private List<FireCheckRecordUserAddCmd> fireCheckRecordUserAddCmdList;

    //隐患信息
    @ApiModelProperty(value = "隐患信息", name = "hiddenAddCmdList")
    private List<HiddenAddCmd> hiddenAddCmdList;
}

