package cn.iocoder.yudao.module.custom.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import static cn.iocoder.yudao.common.DictBaseConstants.DICT_CAR_CATEGORY;
import static cn.iocoder.yudao.common.DictBaseConstants.DICT_CAR_NATURE;

/**
 * 用于车检临期、保养临期、保险临期数据导出公共数据VO
 *
 * @author 小李
 * @date 11:49 2024/12/3
 **/
@Data
@ExcelIgnoreUnannotated
public class SyntheticExportVO {

    @ExcelProperty("车牌号")
    private String licenseNumber;

    @ExcelProperty("车辆品牌")
    String brandStr;

    @ExcelProperty("车辆型号")
    String modelStr;

    @ExcelProperty(value = "车辆类别", converter = DictConvert.class)
    @DictFormat(DICT_CAR_CATEGORY)
    private String carCategory;

    @ExcelProperty(value = "车辆性质", converter = DictConvert.class)
    @DictFormat(DICT_CAR_NATURE)
    private String carNature;

    @ExcelProperty("联系人")
    private String cusName;

    @ExcelProperty("联系方式")
    private String phoneNumber;
}
