package com.hotwj.platform.config.hiddenDangerInspectStore.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;

/**
 * 隐患排查检查库对象 hot_hidden_danger_inspect_store
 *
 * @author shihongwei
 * @date 2025-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_hidden_danger_inspect_store")
public class HotHiddenDangerInspectStore extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 检查类型 1=企业 2=车辆 3=人员
     */
    private Long inspectType;

    /**
     * 隐患排查内容
     */
    private String content;

    /**
     * 正常项
     */
    private String normalText;

    /**
     * 异常项
     */
    private String abnormalText;

    /**
     * 代码
     */
    private String code;

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


}
