package com.ruoyi.doubledefense.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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_hazard
 *
 * @author ruoyi
 * @date 2023-08-03
 */
@TableName("tb_hazard")
@Data
public class Hazard extends GnhzBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** uuid主键 */
    @TableId(type = IdType.INPUT)
    private String id;

    /** 风险分析对象编码 */
    @Excel(name = "风险分析对象编码")
    private String hazardCode;

    /** 风险分析对象编码 */
    @Excel(name = "风险分析对象名称")
    private String hazardName;

    /** 风险等级：1低,2一般,3较大,4重大 */
    @Excel(name = "风险等级：1低,2一般,3较大,4重大")
    private Integer hazardLevel;

    /** 所属区域ID */
    @Excel(name = "所属区域ID")
    private Long areaId;

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

    /** 设备设施表主键（非必选） */
    @Excel(name = "设备设施表主键")
    @ApiModelProperty(value = "设备设施表主键（非必选）",hidden = false)
    private String deviceId;

}
