package com.zcloud.fire.check.dto.clientobject;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-12-12 13:44:24
 */
@Data
public class FireCheckRecordInfoCO {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String fireRecordId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //检查表id
    @ApiModelProperty(value = "检查表id")
    private String fireCheckId;
    //检查表名字
    @ApiModelProperty(value = "检查表名字")
    private String fireCheckName;
    //检查表类型
    @ApiModelProperty(value = "检查表类型")
    private String fireCheckType;
    //检查表类型名称
    @ApiModelProperty(value = "检查表类型名称")
    private String fireCheckTypeName;
    //检查时间
    @ApiModelProperty(value = "检查时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;
    //是否完成,0否1是
    @ApiModelProperty(value = "是否完成,0否1是")
    private Integer finishedFlag;
    //检查周期开始时间
    @ApiModelProperty(value = "检查周期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime periodStart;
    //检查周期结束时间
    @ApiModelProperty(value = "检查周期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime periodEnd;
    //签字url
    @ApiModelProperty(value = "签字url")
    private String signUrl;
    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "消防点检检查用户名称逗号分隔")
    private String userNameList;
    @ApiModelProperty(value = "消防点检负责人用户名称逗号分隔")
    private String responsibleUserNameList;
    @ApiModelProperty(value = "消防点检负责人岗位名称逗号分隔")
    private String responsiblePostNameList;

    @ApiModelProperty(value = "消防点检负责人部门")
    private String departmentName;


    //消防点检记录隐患列表
    @ApiModelProperty(value = "消防点检记录隐患列表")
    private List<FireCheckRecordHiddenCO> fireCheckRecordHiddenList;
    //检查内容
    private List<FireCheckRecordDeviceCO> fireCheckRecordDeviceList;
}

