package com.hotwj.platform.securityManagement.accidentReport.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_accident_report
 *
 * @author shihongwei
 * @date 2026-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_accident_report")
public class HotAccidentReport extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 事故ID
     */
    private Long accidentId;

    /**
     * 报告名称
     */
    private String reportName;

    /**
     * 附件URL
     */
    private String attachmentUrls;

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


}
