package com.hotwj.platform.driverManagement.driver.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 驾驶员台账导出字段
 */
@Data
@ExcelIgnoreUnannotated
public class HotDriverLedgerExportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "驾驶员姓名", index = 0)
    private String name;

    @ExcelProperty(value = "手机号", index = 1)
    private String phone;

    @ExcelProperty(value = "身份证号", index = 2)
    private String idCardNo;

    @ExcelProperty(value = "入职时间", index = 3)
    private Date entryDate;

    @ExcelProperty(value = "现居地址", index = 4)
    private String currentAddress;

    @ExcelProperty(value = "车辆档案号", index = 5)
    private String vehicleArchiveNo;

    @ExcelProperty(value = "车牌号", index = 6)
    private String plateNumber;

    @ExcelProperty(value = "驾驶证号码", index = 7)
    private String driverLicenseNo;

    @ExcelProperty(value = "驾驶证档案号", index = 8)
    private String driverLicenseArchiveNo;

    @ExcelProperty(value = "准驾车型", index = 9)
    private String driverLicenseVehicleType;

    @ExcelProperty(value = "驾驶证初领日期", index = 10)
    private Date driverLicenseFirstIssueDate;

    @ExcelProperty(value = "驾驶证有效期", index = 11)
    private Date driverLicenseExpireDate;

    @ExcelProperty(value = "从业证资格号", index = 12)
    private String qualificationNo;

    @ExcelProperty(value = "从业资格类型", index = 13, converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "hot_category_qualification_certificate")
    private String qualificationType;

    @ExcelProperty(value = "从业证初领日期", index = 14)
    private Date qualificationFirstIssueDate;

    @ExcelProperty(value = "从业证到期日期", index = 15)
    private Date qualificationValidEndDate;
}
