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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.driverManagement.driverProfCert.domain.HotDriverProfCert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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


/**
 * 从业资格证视图对象 hot_driver_prof_cert
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotDriverProfCert.class)
public class HotDriverProfCertVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 驾驶员ID
     */
    @ExcelProperty(value = "驾驶员ID")
    private Long driverId;

    /**
     * 从业资格证类别
     */
    @ExcelProperty(value = "从业资格证类别")
    private String category;

    /**
     * 资格证号
     */
    @ExcelProperty(value = "资格证号")
    private String certNo;

    /**
     * 初次领证日期
     */
    @ExcelProperty(value = "初次领证日期")
    private Date firstIssueDate;

    /**
     * 有效起始日期
     */
    @ExcelProperty(value = "有效起始日期")
    private Date validFrom;

    /**
     * 有效终止日期
     */
    @ExcelProperty(value = "有效终止日期")
    private Date validTo;

    /**
     * 有效期描述
     */
    @ExcelProperty(value = "有效期描述")
    private String validityTerm;

    /**
     * 发证机关
     */
    @ExcelProperty(value = "发证机关")
    private String issuingAuthority;

    /**
     * 从业资格证附件URL
     */
    @ExcelProperty(value = "从业资格证附件URL")
    private String attachmentUrl;

    /**
     * 状态：1=正常 0=禁用
     */
    @ExcelProperty(value = "状态：1=正常 0=禁用")
    private Long status;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
