cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.constant.DailyInspectionOrder;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.springframework.format.annotation.DateTimeFormat;
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;
 
/**
 * @Description: mom_eam_inspection_order
 * @Author: jeecg-boot
 * @Date:   2023-04-11
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_inspection_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_inspection_order对象", description="mom_eam_inspection_order")
public class InspectionOrder 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 inspectionStandardType;
    /**点检标准id*/
    @Excel(name = "点检标准id", width = 15)
    @ApiModelProperty(value = "点检标准id")
    private String inspectionStandardId;
    /**点检周期id*/
    @Excel(name = "点检周期id", width = 15)
    @ApiModelProperty(value = "点检周期id")
    private String inspectionCycleId;
    /**点检日期*/
    @Excel(name = "点检日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "点检日期")
    private Date inspectionDate;
    /**点检时间*/
    @Excel(name = "点检时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "点检时间")
    private Date inspectionTime;
    /**截止时间*/
    @Excel(name = "截止时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "截止时间")
    private Date inspectionDeadline;
    /**设备id*/
    @Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private String equipmentId;
    /**开工条件((0-否,1-是))*/
    @Excel(name = "开工条件((0-否,1-是))", width = 15)
    @ApiModelProperty(value = "开工条件((0-否,1-是))")
    private Integer startWorkCondition;
    /**责任班组id*/
    @Excel(name = "责任班组id", width = 15)
    @ApiModelProperty(value = "责任班组id")
    private String teamId;
    /**点检人*/
    @Excel(name = "点检人", width = 15)
    @ApiModelProperty(value = "点检人")
    private String inspectionUserId;
    /**实际开始时间*/
    @Excel(name = "实际开始时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "实际开始时间")
    private Date actualStartTime;
    /**实际完成时间*/
    @Excel(name = "实际完成时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "实际完成时间")
    private Date actualEndTime;
    /**点检结果*/
    @Excel(name = "点检结果", width = 15)
    @ApiModelProperty(value = "点检结果")
    private String inspectionResult;
    /**点检结果描述*/
    @Excel(name = "点检结果描述", width = 15)
    @ApiModelProperty(value = "点检结果描述")
    private String inspectionResultDesc;
    /**点检项目总数量*/
    @Excel(name = "点检项目总数量", width = 15)
    @ApiModelProperty(value = "点检项目总数量")
    private Integer inspectionItemNum;
    /**点检项目合格数量*/
    @Excel(name = "点检项目合格数量", width = 15)
    @ApiModelProperty(value = "点检项目合格数量")
    private Integer inspectionItemPassNum;
    /**点检项目不合格数量*/
    @Excel(name = "点检项目不合格数量", width = 15)
    @ApiModelProperty(value = "点检项目不合格数量")
    private Integer inspectionItemFailNum;
    /**点检开始时间*/
    @Excel(name = "点检开始时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "点检开始时间")
    private Date planStartTime;
    /**点检结束时间*/
    @Excel(name = "点检结束时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "点检结束时间")
    private Date planEndTime;
    /**领取人id*/
    @Excel(name = "领取人id", width = 15)
    @ApiModelProperty(value = "领取人id")
    private String recipientUserId;
 
    /**删除状态(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 = "状态")
    private String status = DailyInspectionOrder.STATUS_1;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String inspectionOrderUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String inspectionOrderUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String inspectionOrderUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String inspectionOrderUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String inspectionOrderUda5;
    /**备用字段6*/
    @Excel(name = "备用字段6", width = 15)
    @ApiModelProperty(value = "备用字段6")
    private String inspectionOrderUda6;
 
    @TableField(exist = false)
    private List<InspectionOrderDetail> inspectionOrderDetailList;
 
    @TableField(exist = false)
    private String oldInspectionCycleId;
 
    @TableField(exist = false)
    private String unit;
 
    @TableField(exist = false)
    private int effectiveTime;
}