package com.hotwj.platform.securityManagement.hiddenDanger.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 隐患复查记录对象 hot_hidden_danger_review_record
 *
 * @author shihongwei
 * @date 2026-01-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_hidden_danger_review_record")
public class HotHiddenDangerReviewRecord extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 隐患ID
     */
    private Long hiddenDangerId;

    /**
     * 复查人ID
     */
    private Long reviewerId;

    /**
     * 复查人姓名
     */
    private String reviewerName;

    /**
     * 复查时间
     */
    private Date reviewTime;

    /**
     * 复查结论
     */
    private String reviewConclusion;

    /**
     * 是否合格：1=合格 0=不合格
     */
    private Long isQualified;

    /**
     * 复查人签字
     */
    private String reviewSign;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;

}
