xiaoyi
7 天以前 481d8165f26fc7e37f0e87f6444ac0340bb563a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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;
 
}