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
93
94
95
96
97
98
99
100
101
package cn.iocoder.yudao.module.mes.controller.admin.pd.ctc.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.math.BigDecimal;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - 换位导线产品技术参数 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductCtcRespVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("编号")
    private Long id;
 
    @Schema(description = "物料ID(关联 mdm_item.id)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long itemId;
 
    @Schema(description = "物料名称", example = "换位导线")
    private String itemName;
 
    @Schema(description = "物料编码", example = "ML0001")
    private String itemCode;
 
    @Schema(description = "订货规格", example = "QQNB-2/120")
    @ExcelProperty("订货规格")
    private String orderSpec;
 
    @Schema(description = "裸导线规格", example = "1.27×5.7")
    @ExcelProperty("裸导线规格")
    private String bareConductorSpec;
 
    @Schema(description = "漆包线规格", example = "0.11×5.7")
    @ExcelProperty("漆包线规格")
    private String enameledSpec;
 
    @Schema(description = "换位规格", example = "19.08×12.6")
    @ExcelProperty("换位规格")
    private String transpositionSpec;
 
    @Schema(description = "导体类型(铜/铝)", example = "copper")
    @ExcelProperty(value = "导体类型", converter = DictConvert.class)
    @DictFormat(DictTypeConstants.PRODUCT_CONDUCTOR_TYPE)
    private String conductorType;
 
    @Schema(description = "截面积(mm²)", example = "120.00")
    @ExcelProperty("截面积")
    private BigDecimal crossSection;
 
    @Schema(description = "外径(mm)", example = "19.08")
    @ExcelProperty("外径")
    private BigDecimal outerDiameter;
 
    @Schema(description = "20℃直流电阻(Ω/km)", example = "0.002937")
    @ExcelProperty("20℃直流电阻")
    private BigDecimal resistance20c;
 
    @Schema(description = "绕包角度(°)", example = "18.02")
    @ExcelProperty("绕包角度")
    private BigDecimal wrappingAngle;
 
    @Schema(description = "绝缘厚度(mm)", example = "0.75")
    @ExcelProperty("绝缘厚度")
    private BigDecimal insulationThickness;
 
    @Schema(description = "额定电压(kV)", example = "110")
    @ExcelProperty("额定电压")
    private String ratedVoltage;
 
    @Schema(description = "试验电压(kV)", example = "230")
    @ExcelProperty("试验电压")
    private String testVoltage;
 
    @Schema(description = "最小弯曲半径(mm)", example = "500")
    @ExcelProperty("最小弯曲半径")
    private BigDecimal minBendingRadius;
 
    @Schema(description = "每公里重量(kg/km)", example = "1200")
    @ExcelProperty("每公里重量")
    private BigDecimal weightPerKm;
 
    @Schema(description = "执行标准代号", example = "GB/T 7095-2008")
    @ExcelProperty("执行标准")
    private String standardCode;
 
    @Schema(description = "备注", example = "测试备注")
    @ExcelProperty("备注")
    private String remark;
 
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
 
}