zenglf
2023-08-18 499d6294b4b7881c5797a59a183c5fc0105599dd
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
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
//import org.jeecg.modules.system.entity.SysUpload;
import org.jeecg.common.system.base.entity.SysUpload;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * @Description: mom_eam_equipment
 * @Author: jeecg-boot
 * @Date:   2023-03-23
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_equipment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_equipment对象", description="mom_eam_equipment")
public class Equipment extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**设备编码*/
    @Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
    private String num;
    /**设备名称*/
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String name;
    /**设备型号*/
    @Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private String model;
    /**设备规格*/
    @Excel(name = "设备规格", width = 15)
    @ApiModelProperty(value = "设备规格")
    private String specification;
    /**设备状态*/
    @Excel(name = "设备状态", width = 15)
    @ApiModelProperty(value = "设备状态")
    @Dict(dicCode = "equipment_status")
    private String equipmentStatus;
    /**技术状态*/
    @Excel(name = "技术状态", width = 15)
    @ApiModelProperty(value = "技术状态")
    @Dict(dicCode = "technology_status")
    private String technologyStatus;
    /**资产编号*/
    @Excel(name = "资产编号", width = 15)
    @ApiModelProperty(value = "资产编号")
    private String assetNumber;
    /**所属分类*/
    @Excel(name = "所属分类", width = 15)
    @ApiModelProperty(value = "所属分类")
    private String equipmentCategoryId;
    /**特种设备*/
    @Excel(name = "特种设备(是、否)", width = 15)
    @ApiModelProperty(value = "特种设备(是、否)")
    @Dict(dicCode = "specific_equipment")
    private String specificEquipment;
    /**设备图片*/
    @Excel(name = "设备图片", width = 15)
    @ApiModelProperty(value = "设备图片")
    private String equipmentPhoto;
    /**制造商*/
    @Excel(name = "制造商", width = 15)
    @ApiModelProperty(value = "制造商")
    @Dict(dicCode = "id",dictTable="mom_base_constructor",dicText="name")
    private String constructorId;
    /**供应商*/
    @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    @Dict(dicCode = "id",dictTable="mom_base_supplier",dicText="name")
    private String supplierId;
    /**出厂编号*/
    @Excel(name = "出厂编号", width = 15)
    @ApiModelProperty(value = "出厂编号")
    private String factoryNumber;
    /**出厂日期*/
    @Excel(name = "出厂日期", width = 15)
    @ApiModelProperty(value = "出厂日期")
    private String leaveFactoryDate;
    /**验收日期*/
    @Excel(name = "验收日期", width = 15)
    @ApiModelProperty(value = "验收日期")
    private String acceptanceCheckDate;
    /**所有组织*/
    @Excel(name = "所有组织", width = 15)
    @ApiModelProperty(value = "所有组织")
    @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name")
    private String affiliationId;
    /**管理组织*/
    @Excel(name = "管理组织", width = 15)
    @ApiModelProperty(value = "管理组织")
    @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name")
    private String manageId;
    /**管理人*/
    @Excel(name = "管理人", width = 15)
    @ApiModelProperty(value = "管理人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private String manager;
    /**使用部门*/
    @Excel(name = "使用部门", width = 15)
    @ApiModelProperty(value = "使用部门")
    @Dict(dicCode = "id",dictTable="sys_depart",dicText="depart_name")
    private String useId;
    /**责任人*/
    @Excel(name = "责任人", width = 15)
    @ApiModelProperty(value = "责任人")
    @Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
    private String functionary;
    /**位置*/
    @Excel(name = "位置", width = 15)
    @ApiModelProperty(value = "位置")
    private String location;
    /**重要度*/
    @Excel(name = "重要度", width = 15)
    @ApiModelProperty(value = "重要度")
    @Dict(dicCode = "id",dictTable="mom_eam_equipment_importance",dicText="name")
    private String equipmentImportanceId;
    /**工艺参数管理(1:是,0:否)*/
    @Excel(name = "工艺参数管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "工艺参数管理(1:是,0:否)")
    private String processParameters;
    /**精度参数管理(1:是,0:否)*/
    @Excel(name = "精度参数管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "精度参数管理(1:是,0:否)")
    private String precisionParameters;
    /**检定管理(1:是,0:否)*/
    @Excel(name = "检定管理(1:是,0:否)", width = 15)
    @ApiModelProperty(value = "检定管理(1:是,0:否)")
    private String verification;
    /**检定周期*/
    @Excel(name = "检定日期", width = 15)
    @ApiModelProperty(value = "检定日期")
    private String verificationPeriod;
    /**上次鉴定日期*/
    @Excel(name = "上次鉴定日期", width = 15)
    @ApiModelProperty(value = "上次检定日期")
    private String lastVerificationDate;
    /**下次鉴定日期*/
    @Excel(name = "下次鉴定日期", width = 15)
    @ApiModelProperty(value = "下次检定日期")
    private String nextVerificationDate;
    /**状态*/
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status = CommonConstant.STATUS_1;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String equipmentUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String equipmentUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String equipmentUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String equipmentUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String equipmentUda5;
    /**租户id*/
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private String tenantId;
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
 
    /**责任班组*/
    @Excel(name = "责任班组", width = 15)
    @ApiModelProperty(value = "责任班组")
    @Dict(dicCode = "id",dictTable="mom_base_team",dicText="name")
    private String teamId;
 
    /**
     * 基础数据 增减方式 中的增加项
     */
    @ApiModelProperty(value = "设备来源")
    @Dict(dicCode = "id",dictTable="mom_eam_transfer_method",dicText="name")
    private String sourceId;
 
    @ApiModelProperty(value = "工艺参数模板Id")
    private String processParametersTemplateId;
 
    @ApiModelProperty(value = "设备精度模板Id")
    private String precisionParametersTemplateId;
 
    @TableField(exist = false)
    private String processParametersTemplateName;
 
    @TableField(exist = false)
    private String precisionParametersTemplateName;
 
    /**
     * 附件上传列表
     */
    @TableField(exist = false)
    private List<SysUpload> sysUploadList;
 
    /**
     * 封存原因
     */
    @TableField(exist = false)
    private String sealReason;
 
    /**
     * 封存日期
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sealDate;
 
}