package com.hotwj.platform.config.hiddenDangerCheckConfig.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_check_config
 *
 * @author shihongwei
 * @date 2025-12-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_hidden_danger_check_config")
public class HotHiddenDangerCheckConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 是否默认 0=否 1=是
     */
    private Long isDefault;

    /**
     * 企业检查项目JSON
     */
    private String companyInspectJson;

    /**
     * 车辆检查项目JSON
     */
    private String vehicleInspectJson;

    /**
     * 人员检查项目JSON
     */
    private String personInspectJson;

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


}
