package com.hotwj.platform.reportStatistics.domain.vo;

import cn.idev.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.util.Date;

/**
 * 驾驶员健康台账VO类
 *
 * @author shihongwei
 * @date 2026-01-06
 */
@Data
public class DriverHealthLedgerVo {
    @ExcelProperty("所属企业")
    private String companyName;

    @ExcelProperty("驾驶员姓名")
    private String driverName;

    @ExcelProperty("身份证号")
    private String idCardNo;

    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String gender;

    @ExcelProperty("出生年月")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    @ExcelProperty("体检时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reportDate;

    @ExcelProperty("有无毒驾、酒驾记录")
    private String hasDrugOrDrinkDrive;

    @ExcelProperty(value = "健康状况是否良好", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "hot_health")
    private String healthStatus;

    @ExcelProperty("备注")
    private String remark;
}
