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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.driverManagement.driverFileSign.domain.HotDriverFileSign;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

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


/**
 * 驾驶员文件签订视图对象 hot_driver_file_sign
 *
 * @author shihongwei
 * @date 2025-12-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotDriverFileSign.class)
public class HotDriverFileSignVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 文件名称
     */
    @ExcelProperty(value = "文件名称")
    private String fileName;

    /**
     * 签订文件图片url
     */
    @ExcelProperty(value = "签订文件图片url")
    private String signFileImgUrl;

    /**
     * 签订文件图片urlUrl
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "signFileImgUrl")
    private String signFileImgUrlUrl;
    /**
     * 办理人员
     */
    @ExcelProperty(value = "办理人员")
    private String handlerName;

    /**
     * 签订时间
     */
    @ExcelProperty(value = "签订时间")
    private Date signTime;

    /**
     * 到期时间
     */
    @ExcelProperty(value = "到期时间")
    private Date expireTime;

    /**
     * 是否归档 0=否 1=是
     */
    @ExcelProperty(value = "是否归档 0=否 1=是")
    private Long isArchived;

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

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


}
