package com.ruoyi.doubledefense.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 隐患治理对象 tb_danger_manage
 *
 * @author ruoyi
 * @date 2023-08-03
 */
@TableName("tb_danger_manage")
@Data
public class DangerManage extends GnhzBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键UUID
     */
    private String id;

    /**
     * 隐患信息表uuid
     */
    @Excel(name = "隐患信息表uuid")
    private String dangerId;

    /**
     * 整改部门ID
     */
    @Excel(name = "整改部门ID")
    private Long deptId;

    /**
     * 整改负责人ID
     */
    @Excel(name = "整改负责人ID")
    private Long manageUserId;

    /**
     * 整改治理期限
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "整改治理期限", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dangerManageDeaddline;

    /**
     * 添加整改时间（APP提交整改措施时提交）
     */
    @ApiModelProperty("添加整改时间（APP提交整改措施时提交）")
    @Excel(name = "添加整改时间")
    private Date rectificationTime;

    /**
     * 控制措施
     */
    @Excel(name = "控制措施")
    private String controlMeasures;

    /**
     * 整改建议
     */
    @Excel(name = "整改建议")
    private String suggest;

    /**
     * 整改资金
     */
    @Excel(name = "整改资金")
    private String cost;

    /**
     * 整改后图片地址（多个以逗号分割）
     */
    @Excel(name = "整改后图片地址", readConverterExp = "多个以逗号分割")
    private String rectifyImage;

    /**
     * 验收人ID
     */
    @Excel(name = "验收人ID")
    private Long checkUserId;

    /**
     * 验收人签字图片
     */
    @Excel(name = "验收人签字图片")
    private String checkSignature;

    /**
     * 验收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkAcceptTime;

    /**
     * 验收情况描述
     */
    @Excel(name = "验收情况描述")
    private String checkAcceptComment;


    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remarkInfo;
}
