package com.hotwj.platform.resourceManagement.vehicleTerminalInstall.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.resourceManagement.vehicleTerminalInstall.domain.HotVehicleTerminalInstall;
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_vehicle_terminal_install
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotVehicleTerminalInstall.class)
public class HotVehicleTerminalInstallVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 车辆ID
     */
    @ExcelProperty(value = "车辆ID")
    private String vehicleId;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String plateNumber;

    /**
     * 终端服务商
     */
    @ExcelProperty(value = "终端服务商")
    private String serviceProvider;

    /**
     * 单据编号
     */
    @ExcelProperty(value = "单据编号")
    private String documentNo;

    /**
     * 记录人
     */
    @ExcelProperty(value = "记录人")
    private String recorder;

    @Translation(type = TransConstant.SAFETY_MANAGER_ID_TO_NAME, mapper = "recorder")
    private String recorderName;

    /**
     * 安装日期
     */
    @ExcelProperty(value = "安装日期")
    private Date installDate;

    /**
     * 服务截止日期
     */
    @ExcelProperty(value = "服务截止日期")
    private Date serviceEndDate;

    /**
     * 入网登记表图片URL(多个逗号分隔)
     */
    @ExcelProperty(value = "入网登记表图片URL(多个逗号分隔)")
    private String registerImageUrls;

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


}
