|
|
@@ -1,24 +1,25 @@
|
|
1
|
1
|
package com.zzsmart.qomo.kn.cost.manage.entity;
|
|
2
|
2
|
|
|
3
|
|
-import com.alibaba.excel.annotation.ExcelProperty;
|
|
4
|
3
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
5
|
4
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
6
|
5
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
7
|
6
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
7
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
8
|
+import lombok.Data;
|
|
|
9
|
+import lombok.EqualsAndHashCode;
|
|
|
10
|
+import lombok.experimental.Accessors;
|
|
|
11
|
+import org.jeecgframework.poi.excel.annotation.Excel;
|
|
|
12
|
+
|
|
8
|
13
|
import java.io.Serializable;
|
|
9
|
14
|
import java.math.BigDecimal;
|
|
10
|
15
|
import java.time.LocalDateTime;
|
|
11
|
16
|
|
|
12
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
13
|
|
-import lombok.*;
|
|
14
|
|
-import lombok.experimental.Accessors;
|
|
15
|
|
-
|
|
16
|
17
|
/**
|
|
17
|
18
|
* <p>
|
|
18
|
19
|
* 标准成本明细表
|
|
19
|
20
|
* </p>
|
|
20
|
21
|
*
|
|
21
|
|
- * @author
|
|
|
22
|
+ * @author
|
|
22
|
23
|
* @since 2024-06-20
|
|
23
|
24
|
*/
|
|
24
|
25
|
@Data
|
|
|
@@ -40,7 +41,7 @@ public class CostStandardDetail implements Serializable {
|
|
40
|
41
|
*/
|
|
41
|
42
|
@TableField("material_number")
|
|
42
|
43
|
@ApiModelProperty(value = "物料号,关联kn_new_sap_mara表matnr字段")
|
|
43
|
|
- @ExcelProperty("物料号")
|
|
|
44
|
+ @Excel(name = "物料号")
|
|
44
|
45
|
private String materialNumber;
|
|
45
|
46
|
|
|
46
|
47
|
/**
|
|
|
@@ -48,7 +49,7 @@ public class CostStandardDetail implements Serializable {
|
|
48
|
49
|
*/
|
|
49
|
50
|
@TableField("material_name")
|
|
50
|
51
|
@ApiModelProperty(value = "物料名称")
|
|
51
|
|
- @ExcelProperty("物料名称")
|
|
|
52
|
+ @Excel(name = "物料名称")
|
|
52
|
53
|
private String materialName;
|
|
53
|
54
|
|
|
54
|
55
|
/**
|
|
|
@@ -56,7 +57,7 @@ public class CostStandardDetail implements Serializable {
|
|
56
|
57
|
*/
|
|
57
|
58
|
@TableField("parent_material_number")
|
|
58
|
59
|
@ApiModelProperty(value = "父类物料号")
|
|
59
|
|
- @ExcelProperty("父类物料号")
|
|
|
60
|
+ @Excel(name = "父类物料号")
|
|
60
|
61
|
private String parentMaterialNumber;
|
|
61
|
62
|
|
|
62
|
63
|
/**
|
|
|
@@ -71,7 +72,7 @@ public class CostStandardDetail implements Serializable {
|
|
71
|
72
|
*/
|
|
72
|
73
|
@TableField("level")
|
|
73
|
74
|
@ApiModelProperty(value = "层级")
|
|
74
|
|
- @ExcelProperty("层级")
|
|
|
75
|
+ @Excel(name = "层级")
|
|
75
|
76
|
private Integer level;
|
|
76
|
77
|
|
|
77
|
78
|
/**
|
|
|
@@ -79,7 +80,7 @@ public class CostStandardDetail implements Serializable {
|
|
79
|
80
|
*/
|
|
80
|
81
|
@TableField("figure_number")
|
|
81
|
82
|
@ApiModelProperty(value = "图号")
|
|
82
|
|
- @ExcelProperty("图号")
|
|
|
83
|
+ @Excel(name = "图号")
|
|
83
|
84
|
private String figureNumber;
|
|
84
|
85
|
|
|
85
|
86
|
/**
|
|
|
@@ -87,7 +88,7 @@ public class CostStandardDetail implements Serializable {
|
|
87
|
88
|
*/
|
|
88
|
89
|
@TableField("dosage")
|
|
89
|
90
|
@ApiModelProperty(value = "用量")
|
|
90
|
|
- @ExcelProperty("用量")
|
|
|
91
|
+ @Excel(name = "用量")
|
|
91
|
92
|
private Double dosage;
|
|
92
|
93
|
|
|
93
|
94
|
/**
|
|
|
@@ -95,7 +96,7 @@ public class CostStandardDetail implements Serializable {
|
|
95
|
96
|
*/
|
|
96
|
97
|
@TableField("unit")
|
|
97
|
98
|
@ApiModelProperty(value = "单位")
|
|
98
|
|
- @ExcelProperty("单位")
|
|
|
99
|
+ @Excel(name = "单位")
|
|
99
|
100
|
private String unit;
|
|
100
|
101
|
|
|
101
|
102
|
/**
|
|
|
@@ -103,7 +104,7 @@ public class CostStandardDetail implements Serializable {
|
|
103
|
104
|
*/
|
|
104
|
105
|
@TableField("specification")
|
|
105
|
106
|
@ApiModelProperty(value = "规格")
|
|
106
|
|
- @ExcelProperty("规格")
|
|
|
107
|
+ @Excel(name = "规格")
|
|
107
|
108
|
private String specification;
|
|
108
|
109
|
|
|
109
|
110
|
/**
|
|
|
@@ -111,7 +112,7 @@ public class CostStandardDetail implements Serializable {
|
|
111
|
112
|
*/
|
|
112
|
113
|
@TableField("bom_cost")
|
|
113
|
114
|
@ApiModelProperty(value = "bom材料费")
|
|
114
|
|
- @ExcelProperty("bom材料费")
|
|
|
115
|
+ @Excel(name = "bom材料费")
|
|
115
|
116
|
private BigDecimal bomCost;
|
|
116
|
117
|
|
|
117
|
118
|
/**
|
|
|
@@ -119,7 +120,7 @@ public class CostStandardDetail implements Serializable {
|
|
119
|
120
|
*/
|
|
120
|
121
|
@TableField("packing_cost")
|
|
121
|
122
|
@ApiModelProperty(value = "包装费")
|
|
122
|
|
- @ExcelProperty("包装费")
|
|
|
123
|
+ @Excel(name = "包装费")
|
|
123
|
124
|
private BigDecimal packingCost;
|
|
124
|
125
|
|
|
125
|
126
|
/**
|
|
|
@@ -127,7 +128,7 @@ public class CostStandardDetail implements Serializable {
|
|
127
|
128
|
*/
|
|
128
|
129
|
@TableField("auxiliary_cost")
|
|
129
|
130
|
@ApiModelProperty(value = "本阶辅料费")
|
|
130
|
|
- @ExcelProperty("本阶辅料费")
|
|
|
131
|
+ @Excel(name = "本阶辅料费")
|
|
131
|
132
|
private BigDecimal auxiliaryCost;
|
|
132
|
133
|
|
|
133
|
134
|
/**
|
|
|
@@ -135,7 +136,7 @@ public class CostStandardDetail implements Serializable {
|
|
135
|
136
|
*/
|
|
136
|
137
|
@TableField("labor_cost")
|
|
137
|
138
|
@ApiModelProperty(value = "本阶人工费")
|
|
138
|
|
- @ExcelProperty("本阶人工费")
|
|
|
139
|
+ @Excel(name = "本阶人工费")
|
|
139
|
140
|
private BigDecimal laborCost;
|
|
140
|
141
|
|
|
141
|
142
|
/**
|
|
|
@@ -143,7 +144,7 @@ public class CostStandardDetail implements Serializable {
|
|
143
|
144
|
*/
|
|
144
|
145
|
@TableField("euip_depreciation_cost")
|
|
145
|
146
|
@ApiModelProperty(value = "机器折旧费")
|
|
146
|
|
- @ExcelProperty("机器折旧费")
|
|
|
147
|
+ @Excel(name = "机器折旧费")
|
|
147
|
148
|
private BigDecimal euipDepreciationCost;
|
|
148
|
149
|
|
|
149
|
150
|
/**
|
|
|
@@ -151,7 +152,7 @@ public class CostStandardDetail implements Serializable {
|
|
151
|
152
|
*/
|
|
152
|
153
|
@TableField("equip_consume_cost")
|
|
153
|
154
|
@ApiModelProperty(value = "机物料消耗费")
|
|
154
|
|
- @ExcelProperty("机物料消耗费")
|
|
|
155
|
+ @Excel(name = "机物料消耗费")
|
|
155
|
156
|
private BigDecimal equipConsumeCost;
|
|
156
|
157
|
|
|
157
|
158
|
/**
|
|
|
@@ -159,7 +160,7 @@ public class CostStandardDetail implements Serializable {
|
|
159
|
160
|
*/
|
|
160
|
161
|
@TableField("hydroelectricity_cost")
|
|
161
|
162
|
@ApiModelProperty(value = "水电费")
|
|
162
|
|
- @ExcelProperty("水电费")
|
|
|
163
|
+ @Excel(name = "水电费")
|
|
163
|
164
|
private BigDecimal hydroelectricityCost;
|
|
164
|
165
|
|
|
165
|
166
|
/**
|
|
|
@@ -167,7 +168,7 @@ public class CostStandardDetail implements Serializable {
|
|
167
|
168
|
*/
|
|
168
|
169
|
@TableField("other_cost")
|
|
169
|
170
|
@ApiModelProperty(value = "其他制造费")
|
|
170
|
|
- @ExcelProperty("其他制造费")
|
|
|
171
|
+ @Excel(name = "其他制造费")
|
|
171
|
172
|
private BigDecimal otherCost;
|
|
172
|
173
|
|
|
173
|
174
|
/**
|
|
|
@@ -175,7 +176,7 @@ public class CostStandardDetail implements Serializable {
|
|
175
|
176
|
*/
|
|
176
|
177
|
@TableField("trail_cost")
|
|
177
|
178
|
@ApiModelProperty(value = "物流费")
|
|
178
|
|
- @ExcelProperty("物流费")
|
|
|
179
|
+ @Excel(name = "物流费")
|
|
179
|
180
|
private BigDecimal trailCost;
|
|
180
|
181
|
|
|
181
|
182
|
/**
|
|
|
@@ -183,7 +184,7 @@ public class CostStandardDetail implements Serializable {
|
|
183
|
184
|
*/
|
|
184
|
185
|
@TableField("manufacture_cost")
|
|
185
|
186
|
@ApiModelProperty(value = "制造成本")
|
|
186
|
|
- @ExcelProperty("制造成本")
|
|
|
187
|
+ @Excel(name = "制造成本")
|
|
187
|
188
|
private BigDecimal manufactureCost;
|
|
188
|
189
|
|
|
189
|
190
|
/**
|
|
|
@@ -191,7 +192,7 @@ public class CostStandardDetail implements Serializable {
|
|
191
|
192
|
*/
|
|
192
|
193
|
@TableField("total_labor_cost")
|
|
193
|
194
|
@ApiModelProperty(value = "累计人工费")
|
|
194
|
|
- @ExcelProperty("累计人工费")
|
|
|
195
|
+ @Excel(name = "累计人工费")
|
|
195
|
196
|
private BigDecimal totalLaborCost;
|
|
196
|
197
|
|
|
197
|
198
|
/**
|
|
|
@@ -199,7 +200,7 @@ public class CostStandardDetail implements Serializable {
|
|
199
|
200
|
*/
|
|
200
|
201
|
@TableField("total_equip_consume_cost")
|
|
201
|
202
|
@ApiModelProperty(value = "累计机器消耗费")
|
|
202
|
|
- @ExcelProperty("累计机器消耗费")
|
|
|
203
|
+ @Excel(name = "累计机器消耗费")
|
|
203
|
204
|
private BigDecimal totalEquipConsumeCost;
|
|
204
|
205
|
|
|
205
|
206
|
/**
|
|
|
@@ -207,7 +208,7 @@ public class CostStandardDetail implements Serializable {
|
|
207
|
208
|
*/
|
|
208
|
209
|
@TableField("total_euip_depreciation_cost")
|
|
209
|
210
|
@ApiModelProperty(value = "累计机器折旧费")
|
|
210
|
|
- @ExcelProperty("累计机器折旧费")
|
|
|
211
|
+ @Excel(name = "累计机器折旧费")
|
|
211
|
212
|
private BigDecimal totalEuipDepreciationCost;
|
|
212
|
213
|
|
|
213
|
214
|
/**
|
|
|
@@ -215,7 +216,7 @@ public class CostStandardDetail implements Serializable {
|
|
215
|
216
|
*/
|
|
216
|
217
|
@TableField("total_hydroelectricity_cost")
|
|
217
|
218
|
@ApiModelProperty(value = "累计水电费")
|
|
218
|
|
- @ExcelProperty("累计水电费")
|
|
|
219
|
+ @Excel(name = "累计水电费")
|
|
219
|
220
|
private BigDecimal totalHydroelectricityCost;
|
|
220
|
221
|
|
|
221
|
222
|
/**
|
|
|
@@ -223,7 +224,7 @@ public class CostStandardDetail implements Serializable {
|
|
223
|
224
|
*/
|
|
224
|
225
|
@TableField("total_other_cost")
|
|
225
|
226
|
@ApiModelProperty(value = "累计其它费用")
|
|
226
|
|
- @ExcelProperty("累计其它费用")
|
|
|
227
|
+ @Excel(name = "累计其它费用")
|
|
227
|
228
|
private BigDecimal totalOtherCost;
|
|
228
|
229
|
|
|
229
|
230
|
/**
|
|
|
@@ -266,7 +267,7 @@ public class CostStandardDetail implements Serializable {
|
|
266
|
267
|
*/
|
|
267
|
268
|
@TableField("sort")
|
|
268
|
269
|
@ApiModelProperty(value = "序号")
|
|
269
|
|
- @ExcelProperty("序号")
|
|
|
270
|
+ @Excel(name = "序号")
|
|
270
|
271
|
private Integer sort;
|
|
271
|
272
|
|
|
272
|
273
|
}
|