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

import com.alibaba.cola.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-11-28 10:32:08
 */
@Data
public class FireCheckListCO extends ClientObject {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String fireCheckId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //检查表名字
    @ApiModelProperty(value = "检查表名字")
    private String fireCheckName;
    //检查表类型
    @ApiModelProperty(value = "检查表类型")
    private String fireCheckType;
    //检查表类型名称
    @ApiModelProperty(value = "检查表类型名称")
    private String fireCheckTypeName;
    //负责部门
    @ApiModelProperty(value = "负责部门")
    private Long departmentId;


    //禁用1启用0
    @ApiModelProperty(value = "禁用1启用0")
    private Integer state;
    @ApiModelProperty(value = "检查照片上传方式（1相机照相，2相册获取）", name = "photoUploadMethod", required = true)
    private Integer photoUploadMethod;


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

    //岗位
    @ApiModelProperty(value = "岗位名称")
    private String postName;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    //用户名称
    @ApiModelProperty(value = "负责人逗号分隔")
    private String userName;
    //检查设备列表
    @ApiModelProperty(value = "检查设备列表")
    private List<FireDeviceCO> fireDeviceCOList;

    //点位数
    @ApiModelProperty(value = "点位数")
    private Long fireCheckItemCount;
    //开始排查周期
    @ApiModelProperty(value = "开始排查周期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkStartTime;
    //结束排查周期
    @ApiModelProperty(value = "结束排查周期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkEndTime;
    //检查次数
    @ApiModelProperty(value = "检查次数")
    private Long checkCount;
    //周期检查次数
    @ApiModelProperty(value = "周期检查次数")
    private Long checkCycleCount;

    @ApiModelProperty(value = "检查人员列表")
    private List<FireCheckListUserCO> fireCheckListUserCOList;
}

