xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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.convert.DictConvert;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
 
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CREDIT_LEVEL;
 
@Schema(description = "管理后台 - CRM 客户信用评级 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CrmCreditRatingRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客户ID")
    private Long customerId;
 
    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("客户名称")
    private String customerName;
 
    @Schema(description = "信用等级")
    @ExcelProperty(value = "信用等级", converter = DictConvert.class)
    @DictFormat(CRM_CREDIT_LEVEL)
    private String level;
 
    @Schema(description = "信用分")
    @ExcelProperty("信用分")
    private Integer score;
 
    @Schema(description = "评定类型")
    @ExcelProperty("评定类型")
    private String evalType;
 
    @Schema(description = "评定理由")
    @ExcelProperty("评定理由")
    private String evalReason;
 
    @Schema(description = "操作人ID")
    @ExcelProperty("操作人ID")
    private Long operatorId;
 
    @Schema(description = "操作人姓名")
    @ExcelProperty("操作人姓名")
    private String operatorName;
 
    @Schema(description = "操作时间")
    @ExcelProperty("操作时间")
    private LocalDateTime operateTime;
 
    @Schema(description = "有效期至")
    @ExcelProperty("有效期至")
    private LocalDateTime validUntil;
 
    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}