9 天以前 106aaa378126774a2547b6c0d559c62114579f4c
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package cn.iocoder.yudao.module.mes.controller.admin.md.client.vo;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
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;
 
@Schema(description = "管理后台 - MES 客户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MesMdClientRespVO {
 
    @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("客户编号")
    private Long id;
 
    @Schema(description = "客户编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "C00184")
    @ExcelProperty("客户编码")
    private String code;
 
    @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "比亚迪")
    @ExcelProperty("客户名称")
    private String name;
 
    @Schema(description = "客户简称", example = "比亚迪")
    @ExcelProperty("客户简称")
    private String nickname;
 
    @Schema(description = "客户英文名称", example = "BYD")
    @ExcelProperty("客户英文名称")
    private String englishName;
 
    @Schema(description = "客户简介", example = "比亚迪品牌诞生于深圳")
    @ExcelProperty("客户简介")
    private String description;
 
    @Schema(description = "客户LOGO地址", example = "https://xxx.com/logo.png")
    private String logo;
 
    @Schema(description = "客户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "客户类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.MES_CLIENT_TYPE)
    private Integer type;
 
    @Schema(description = "客户地址", example = "深圳南山区")
    @ExcelProperty("客户地址")
    private String address;
 
    @Schema(description = "客户官网地址", example = "https://www.bydglobal.com")
    @ExcelProperty("客户官网地址")
    private String website;
 
    @Schema(description = "客户邮箱地址", example = "salse@bydglobal.com")
    @ExcelProperty("客户邮箱地址")
    private String email;
 
    @Schema(description = "客户电话", example = "123432222")
    @ExcelProperty("客户电话")
    private String telephone;
 
    @Schema(description = "联系人1", example = "张三")
    @ExcelProperty("联系人1")
    private String contact1Name;
 
    @Schema(description = "联系人1-电话", example = "122212312")
    @ExcelProperty("联系人1-电话")
    private String contact1Telephone;
 
    @Schema(description = "联系人1-邮箱", example = "s1@bydglobal.com")
    @ExcelProperty("联系人1-邮箱")
    private String contact1Email;
 
    @Schema(description = "联系人2", example = "李四")
    @ExcelProperty("联系人2")
    private String contact2Name;
 
    @Schema(description = "联系人2-电话", example = "1132323232")
    @ExcelProperty("联系人2-电话")
    private String contact2Telephone;
 
    @Schema(description = "联系人2-邮箱", example = "s2@bydglobal.com")
    @ExcelProperty("联系人2-邮箱")
    private String contact2Email;
 
    @Schema(description = "统一社会信用代码", example = "11212121")
    @ExcelProperty("统一社会信用代码")
    private String creditCode;
 
    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(cn.iocoder.yudao.module.system.enums.DictTypeConstants.COMMON_STATUS)
    private Integer status;
 
    @Schema(description = "备注", example = "备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}