package cn.iocoder.yudao.module.crm.controller.admin.credit.vo; import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; import cn.iocoder.yudao.framework.excel.core.annotations.ExcelColumnSelect; import cn.iocoder.yudao.framework.excel.core.convert.DictConvert; import cn.idev.excel.annotation.ExcelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.time.LocalDateTime; import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CREDIT_LEVEL; /** * 客户信用评级 Excel 导入 VO */ @Data @Builder @AllArgsConstructor @NoArgsConstructor public class CrmCreditRatingImportExcelVO { @ExcelProperty("客户名称") private String customerName; @ExcelProperty(value = "信用等级", converter = DictConvert.class) @DictFormat(CRM_CREDIT_LEVEL) @ExcelColumnSelect(dictType = CRM_CREDIT_LEVEL) private String level; @ExcelProperty("信用分") private Integer score; @ExcelProperty("评定类型") private String evalType; @ExcelProperty("评定理由") private String evalReason; @ExcelProperty("操作人") private String operatorName; @ExcelProperty("操作时间") private LocalDateTime operateTime; @ExcelProperty("有效期至") private LocalDateTime validUntil; @ExcelProperty("备注") private String remark; }