车间能级提升-智能设备管理系统
zhuguifei
2025-05-26 9af9ab79236d68112bec7138ee7f1b2461d20f68
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
package org.dromara.eims.domain.vo;
 
import java.math.BigDecimal;
import java.util.Date;
 
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.poi.hpsf.Decimal;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.eims.domain.EimsFixture;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
 
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
 
 
 
/**
 * 工具(治具)台账视图对象 eims_fixture
 *
 * @author zhuguifei
 * @date 2025-02-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EimsFixture.class)
public class EimsFixtureVo extends BaseEntity implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     *
     */
    private Long id;
 
 
 
    /**
     * 治具名称
     */
    @ExcelProperty(value = "工具名称")
    @ColumnWidth(30)
    private String fixtureName;
 
    /**
     * 型号
     */
    @ExcelProperty(value = "型号")
    @ColumnWidth(15)
    private String modelNo;
 
    /**
     * 品牌
     */
    @ExcelProperty(value = "品牌")
    @ColumnWidth(20)
    private String  brand;
 
    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ColumnWidth(10)
    private Integer  amount;
 
 
    /**
     * 单位
     */
    @ExcelProperty(value = "单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "eims_fixture_unit")
    @ColumnWidth(10)
    private String  unit;
 
    /**
     * 资产编号
     */
    @ExcelProperty(value = "资产编号")
    @ColumnWidth(20)
    private String assetNo;
 
 
    /**
     * 使用部门
     */
    private Long  useDept;
 
    @ExcelProperty(value = "使用部门")
    @ColumnWidth(20)
    @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "useDept")
    private String  useDeptName;
 
    /**
     * 管理人
     */
    private Long  manageUser;
 
    @ExcelProperty(value = "管理人")
    @ColumnWidth(12)
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "manageUser")
    private String  manageUserName;
 
    /**
     * 采购日期
     */
    @ExcelProperty(value = "采购日期")
    @ColumnWidth(24)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date purchaseDate;
 
    /**
     * 使用日期
     */
    @ExcelProperty(value = "使用日期")
    @ColumnWidth(24)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deployDate;
 
 
    /**
     * 管控需求
     */
    @ExcelProperty(value = "管控需求", converter = ExcelDictConvert.class)
    @ColumnWidth(10)
    @ExcelDictFormat(dictType = "eims_fixture_manage")
    private String  isManage;
 
    /**
     * 状态(字典)
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ColumnWidth(10)
    @ExcelDictFormat(dictType = "eims_fixture_status")
    private String status;
 
 
 
 
    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    @ColumnWidth(10)
    private BigDecimal unitPrice;
 
    /**
     * 功率
     */
    @ExcelProperty(value = "功率")
    @ColumnWidth(15)
    private String power;
 
 
    /**
     * 治具编码
     */
    private String fixtureCode;
 
 
    /**
     * 治具(工具)类型
     */
    private Long fixtureType;
 
    /**
     * 治具(工具)类型
     */
    @Translation(type = TransConstant.FIXTURE_TYPE_ID_TO_NAME, mapper = "fixtureType")
    private String fixtureTypeName;
 
    /**
     * 治具描述
     */
    private String fixtureDesc;
 
    /**
     * 借用部门
     */
    private Long borrowDept;
 
    /**
     * 借用部门
     */
    private String borrowDeptName;
 
    /**
     * 借用人
     */
    private Long borrowUser;
 
    /**
     * 借用状态
     */
//    @ExcelProperty(value = "借用状态", converter = ExcelDictConvert.class)
//    @ExcelDictFormat(dictType = "fixture_borrow_status")
    private String borrowStatus;
 
    /**
     * 借用人
     */
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "borrowUser")
    private String borrowUserName;
 
 
 
 
    /**
     * 规格
     */
    private String specNo;
 
    /**
     * 制造商
     */
    private String madeIn;
 
 
 
    /**
     * 使用年限
     */
    private Long serviceLife;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
 
    /**
     * 当前借用记录id
     */
    private Long curBorrowId;
 
 
 
 
 
}