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;

/**
 * 可视化大屏消防点检列表
 */
@Data
public class FireCheckListScreenCO extends ClientObject {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "业务主键id")
    private String fireCheckId;

    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;

    @ApiModelProperty(value = "消防点检表名字")
    private String fireCheckName;

    @ApiModelProperty(value = "消防点检表类型")
    private String fireCheckType;

    @ApiModelProperty(value = "消防点检表类型名称")
    private String fireCheckTypeName;

    @ApiModelProperty(value = "启用状态，0:启用,1:禁用")
    private Integer state;

    @ApiModelProperty(value = "检查照片上传方式，1:相机拍照,2:相册获取")
    private Integer photoUploadMethod;



    @ApiModelProperty(value = "负责人，逗号分隔")
    private String userName;

    @ApiModelProperty(value = "点位数")
    private Long firePointCount;

    @ApiModelProperty(value = "检查状态，1:未检查,2:已检查")
    private Integer checkStatus;

    @ApiModelProperty(value = "检查状态名称")
    private String checkStatusName;


    @ApiModelProperty(value = "周期内检查次数")
    private Long checkCycleCount;

    @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 = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
