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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package cn.iocoder.yudao.module.mes.controller.admin.pd.techconfirm.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 = "管理后台 - 产品技术确认函 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductTechConfirmRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "确认函编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "TC20260801001")
    @ExcelProperty("确认函编号")
    private String confirmNo;
 
    @Schema(description = "客户ID(关联 crm_customer.id)", example = "2048")
    private Long customerId;
 
    @Schema(description = "客户名称", example = "江苏华鹏变压器有限公司")
    @ExcelProperty("客户名称")
    private String customerName;
 
    @Schema(description = "产品名称", example = "漆包扁铜线")
    @ExcelProperty("产品名称")
    private String productName;
 
    @Schema(description = "规格型号", example = "QQNB-2/120")
    @ExcelProperty("规格型号")
    private String specification;
 
    @Schema(description = "技术参数(JSON 格式)", example = "{\"thickness\":\"1.27\"}")
    private String techParams;
 
    @Schema(description = "模板类型(奥地利/日本/通用)", example = "general")
    @ExcelProperty(value = "模板类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.PRODUCT_TECH_CONFIRM_TEMPLATE)
    private String templateType;
 
    @Schema(description = "编制人ID", example = "1")
    private Long drafterId;
 
    @Schema(description = "编制人姓名", example = "胡东")
    @ExcelProperty("编制人")
    private String drafterName;
 
    @Schema(description = "编制时间")
    @ExcelProperty("编制时间")
    private LocalDateTime draftTime;
 
    @Schema(description = "审核人ID", example = "2")
    private Long reviewerId;
 
    @Schema(description = "审核人姓名", example = "李工")
    @ExcelProperty("审核人")
    private String reviewerName;
 
    @Schema(description = "审核时间")
    @ExcelProperty("审核时间")
    private LocalDateTime reviewTime;
 
    @Schema(description = "客户确认人", example = "王经理")
    @ExcelProperty("客户确认人")
    private String customerConfirmUser;
 
    @Schema(description = "客户确认时间")
    @ExcelProperty("客户确认时间")
    private LocalDateTime customerConfirmTime;
 
    @Schema(description = "状态(0=草稿,1=待审核,2=已审核,3=客户已确认)", example = "0")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.PRODUCT_TECH_CONFIRM_STATUS)
    private Integer status;
 
    @Schema(description = "备注", example = "测试备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}