package com.ruoyi.doubledefense.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 隐患流程记录表 tb_danger_operate_record
 *
 * @author ruoyi
 * @date 2023-08-03
 */
@TableName("tb_danger_operate_record")
@Data
public class DangerOperateRecord extends GnhzBaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 隐患ID */
    private String dangerId;

    /** 隐患操作用户ID */
    private Long operateUserId;

    /** 隐患操作用户名 */
    private String operateUserName;


    /** 隐患操作用户姓名 */
//    @TableField(exist = false)
    private String operateNickName;

    /** 操作时间 */
    private Date operateTime;

    /** 隐患状态 @DangerStatusEnum*/
    private Integer dangerStatus;

    @TableField(exist = false)
    private String statusDesc;

}
