EquipmentDefectManagement.java
4.8 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
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.modules.flow.core.entity.FlowEntity;
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;
/**
* 设备缺陷管理
*/
@Data
@TableName("equipment_defect_management")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="equipment_defect_management对象", description="设备缺陷管理")
public class EquipmentDefectManagement extends FlowEntity {
/**主键*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "主键")
private String id;
/**设备ID*/
@Excel(name = "设备ID", width = 15)
@ApiModelProperty(value = "设备ID")
@Dict(dictTable = "equipment_info",dicText = "equipment_name",dicCode = "id")
private String equipmentId;
/**设备名称*/
@Excel(name = "设备名称", width = 15)
@ApiModelProperty(value = "设备名称")
private String equipmentName;
/**缺陷级别*/
@Excel(name = "缺陷级别", width = 15)
@ApiModelProperty(value = "缺陷级别")
@Dict(dicCode = "defect_level")
private String defectLevel;
/**缺陷上报人*/
@Excel(name = "缺陷上报人", width = 15)
@ApiModelProperty(value = "缺陷上报人")
@Dict(dictTable = "sys_user",dicText = "realname",dicCode = "id")
private String defectReportUser;
/**缺陷上报时间*/
@Excel(name = "缺陷上报时间", width = 15)
@ApiModelProperty(value = "缺陷上报时间")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.util.Date defectReportDate;
/**缺陷描述*/
@Excel(name = "缺陷描述", width = 15)
@ApiModelProperty(value = "缺陷描述")
private String defectDescription;
/**语音附件附件*/
@Excel(name = "语音附件附件", width = 15)
@ApiModelProperty(value = "语音附件附件")
private String voiceEnclosure;
/**图片附件*/
@Excel(name = "图片附件", width = 15)
@ApiModelProperty(value = "图片附件")
private String pictureEnclosure;
/**视频附件*/
@Excel(name = "视频附件", width = 15)
@ApiModelProperty(value = "视频附件")
private String videoEnclosure;
/**处理结果*/
@Excel(name = "处理结果", width = 15)
@ApiModelProperty(value = "处理结果")
private String handleResult;
/**处理人*/
@Excel(name = "处理人", width = 15)
@ApiModelProperty(value = "处理人")
@Dict(dictTable = "sys_user",dicText = "realname",dicCode = "id")
private String handleUser;
/**处理时间*/
@Excel(name = "处理时间", width = 15)
@ApiModelProperty(value = "处理时间")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.util.Date handleDate;
/**处理措施*/
@Excel(name = "处理措施", width = 15)
@ApiModelProperty(value = "处理措施")
private String handleMeasures;
/**备注*/
@Excel(name = "备注", width = 15)
@ApiModelProperty(value = "备注")
private String remake;
/**创建人id*/
@Excel(name = "创建人id", width = 15)
@ApiModelProperty(value = "创建人id")
private String createBy;
/**创建时间*/
@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建时间")
private java.util.Date createTime;
/**修改人id*/
@Excel(name = "修改人id", width = 15)
@ApiModelProperty(value = "修改人id")
private String updateBy;
/**修改时间*/
@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "修改时间")
private java.util.Date updateTime;
/**删除标识,0有效,1删除*/
@Excel(name = "删除标识,0有效,1删除", width = 15)
@ApiModelProperty(value = "删除标识,0有效,1删除")
private Integer delFlag;
/**缺陷类型*/
@Excel(name = "缺陷类型", width = 15)
@ApiModelProperty(value = "缺陷类型")
@Dict(dictTable = "equipment_defect_type",dicText = "defect_type",dicCode = "id")
private String equipmentDefectTypeId;
/**
* 流程定义id
*/
@ApiModelProperty(value = "流程定义id")
private String processDefinitionId;
/**
* 流程实例id
*/
@ApiModelProperty(value = "流程实例id")
private String processInstanceId;
}