package com.hotwj.platform.driverManagement.driverHealthReport.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_driver_health_report
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_driver_health_report")
public class HotDriverHealthReport extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 驾驶员ID
     */
    private String driverId;

    /**
     * 体检报告日期
     */
    private Date reportDate;

    /**
     * 医院
     */
    private String hospital;

    /**
     * 体检结果（字典）
     */
    private String healthStatus;

    /**
     * 记录人
     */
    private Long recorderId;

    /**
     * 体检报告附件URL
     */
    private String attachmentUrl;

    /**
     * 预览图URL
     */
    private String previewImageUrl;

    /**
     * 备注/内部编号
     */
    private String remark;

    /**
     * 是否归档 (0=未归档, 1=已归档)
     */
    private Integer archiveStatus;

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


}
