EquipmentInfo.java
7.3 KB
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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
package com.skua.modules.equipment.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.skua.core.aspect.annotation.Dict;
import com.skua.tool.annotation.BeanAnno;
import com.skua.tool.annotation.JoinSqlQueryAnno;
import com.skua.tool.enums.JoinSqlQueryEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
* 设备信息
*/
@Data
@TableName("equipment_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "equipment_info对象", description = "设备信息")
public class EquipmentInfo {
/**
* id
*/
@TableId(type = IdType.UUID)
@ApiModelProperty(value = "id")
@JoinSqlQueryAnno(joinSqlQueryEnum = JoinSqlQueryEnum.EQ)
private String id;
/**
* 货主组织
*/
@Excel(name = "货主组织", width = 15)
@ApiModelProperty(value = "货主组织")
@BeanAnno(targetFieldNames = {"departIdName", "departId_dictText"})
@JoinSqlQueryAnno(joinSqlQueryEnum = JoinSqlQueryEnum.IN)
private String departId;
/**
* 计量单位
*/
@Excel(name = "计量单位", width = 15)
@ApiModelProperty(value = "计量单位")
private String measuringUnit;
/**
* 设备类型
*/
@Excel(name = "设备类型", width = 15)
@ApiModelProperty(value = "设备类型")
@BeanAnno(targetFieldName = "equipmentType_dictText")
@JoinSqlQueryAnno(joinSqlQueryEnum = JoinSqlQueryEnum.EQ)
private String equipmentType;
/**
* 设备编码
*/
@Excel(name = "设备编码", width = 15)
@ApiModelProperty(value = "设备编码")
private String equipmentCode;
@Excel(name = "设备等级", width = 15)
@ApiModelProperty(value = "设备等级")
private String equipmentLevel;
@Excel(name = "安装角度", width = 15)
@ApiModelProperty(value = "安装角度")
private String installAngle;
/**
* 设备名称
*/
@Excel(name = "设备名称", width = 15)
@ApiModelProperty(value = "设备名称")
@JoinSqlQueryAnno(joinSqlQueryEnum = JoinSqlQueryEnum.LIKE)
private String equipmentName;
/**
* 开始使用日期
*/
@Excel(name = "开始使用日期", width = 15)
@ApiModelProperty(value = "开始使用日期")
private String startUseDate;
/**
* 限制使用年限
*/
@Excel(name = "限制使用年限", width = 15)
@ApiModelProperty(value = "限制使用年限")
private String limitUseYear;
/**
* 建议更换时间
*/
@Excel(name = "建议更换时间", width = 15)
@ApiModelProperty(value = "建议更换时间")
private String adviceReplaceDate;
/**
* 安装位置
*/
@Excel(name = "安装位置", width = 15)
@ApiModelProperty(value = "安装位置")
@BeanAnno(targetFieldName = "installPosition_dictText")
private String installPosition;
/**
* 技术参数
*/
@Excel(name = "技术参数", width = 15)
@ApiModelProperty(value = "技术参数")
private String technicalParameter;
/**
* 产品型号
*/
@Excel(name = "产品型号", width = 15)
@ApiModelProperty(value = "产品型号")
private String productModel;
/**
* 厂家
*/
@Excel(name = "厂家", width = 15)
@ApiModelProperty(value = "厂家")
private String manufacturer;
/**
* 材质
*/
@Excel(name = "材质", width = 15)
@ApiModelProperty(value = "材质")
private String texture;
/**
* 设备图片
*/
@Excel(name = "设备图片", width = 15)
@ApiModelProperty(value = "设备图片")
private String equipmentImg;
/**
* 设备二维码
*/
@Excel(name = "设备二维码", width = 15)
@ApiModelProperty(value = "设备二维码")
private String qrCode;
/**
* 备注
*/
@Excel(name = "备注", width = 15)
@ApiModelProperty(value = "备注")
private String remark;
/**
* 资产id
*/
@ApiModelProperty(value = "资产id")
private String assetId;
/**
* 是否为特种设备
*/
@ApiModelProperty(value = "是否为特种设备")
@Dict(dicCode = "yn")
private String isSpecial;
/**
* 创建人id
*/
@ApiModelProperty(value = "创建人id")
private String createBy;
/**
* 创建时间
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private Date createTime;
/**
* 修改人id
*/
@ApiModelProperty(value = "修改人id")
private String updateBy;
/**
* 修改时间
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
private Date updateTime;
/**
* 所属部门
*/
@ApiModelProperty(value = "所属部门")
private String createDept;
/**
* 所属公司
*/
@ApiModelProperty(value = "所属公司")
private String createCmpy;
/**
* 删除标识,0:正常,1:删除
*/
@ApiModelProperty(value = "删除标识,0:正常,1:删除")
private Integer delFlag;
/**
* 赤水 补充字段
*/
@ApiModelProperty(value = "输送介质")
private String deliveryMedium;
@ApiModelProperty(value = "安装方式")
private String installWay;
@ApiModelProperty(value = "设备位号")
private String equipmentBitNumber;
@ApiModelProperty(value = "所属构筑物")
private String structures;
@ApiModelProperty(value = "出厂日期")
private String manufactureDate;
@ApiModelProperty(value = "出厂编号")
private String manufactureNumber;
@ApiModelProperty(value = "购入日期")
private String intakeDate;
@ApiModelProperty(value = "设备原值")
private String originalValue;
@ApiModelProperty(value = "设备状态")
@BeanAnno(targetFieldName = "equipmentStatus_dictText")
private String equipmentStatus;
@ApiModelProperty(value = "使用寿命")
private String workingLife;
@ApiModelProperty(value = "设备类别大类")
private String equipmentTopType;
@ApiModelProperty(value = "设备类别树路径")
private String equipmentTypeTreePath;
@ApiModelProperty(value = "设备品牌")
private String equipmentBrand;
@ApiModelProperty(value = "设备附件")
private String equipmentFile;
@ApiModelProperty(value = "有无备用")
private String spareTag;
@ApiModelProperty(value = "注册时间")
private String registerDate;
@ApiModelProperty(value = "资产金额")
private String assetAmount;
//安装日期
@ApiModelProperty(value = "安装日期")
private String installDate;
//移交日期
@ApiModelProperty(value = "移交日期")
private String handoverDate;
//报废日期
@ApiModelProperty(value = "报废日期")
private String scrapDate;
}