package com.maintain.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.maintain.common.annotation.ExcelDictFormat;
import com.maintain.common.convert.ExcelDictConvert;
import lombok.Data;

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

/**
 * 客户信息-车型视图对象 erp_vehicle_model
 *
 * @author liushuai
 * @date 2025-03-25
 */
@Data
@ExcelIgnoreUnannotated
public class ErpVehicleModelVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 车型编号
     */
    @ExcelProperty(value = "车型编码")
    private String carTypeCode;

    /**
     * 车辆品牌
     */
    @ExcelProperty(value = "车辆品牌")
    private String carBrand;

    /**
     * 车辆型号
     */
    @ExcelProperty(value = "车辆型号")
    private String carModel;

    /**
     * 车辆配置
     */
    @ExcelProperty(value = "车辆配置")
    private String carConfiguration;

    /**
     * 车辆颜色
     */
    @ExcelProperty(value = "车辆颜色")
    private String carColour;

    /**
     * 类型（1轿车 2 SUV）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "cheliangleixing")
    private Integer type;

    /**
     * 能耗类型（1纯油 2纯电 3混动）
     */
    @ExcelProperty(value = "能耗类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "nenghaoleixing")
    private Integer expendType;

    /**
     * 底盘型号
     */
    @ExcelProperty(value = "底盘型号")
    private String chassisNumber;

    /**
     * 点击型号
     */
    @ExcelProperty(value = "发动机型号/电机型号")
    private String motorNumber;

    /**
     * 发动机型号
     */
    private String engineNumber;

    /**
     * 车轴数量
     */
    private Long axleNumber;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 胎位列表
     */
    private List<ErpTyrePositionVo> tyrePositions;


}
