cuijian
2023-11-02 d3e79914a4657bf39bb4e59cc7bf35cf6492da58
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
package org.jeecg.modules.eam.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.poi.hpsf.Decimal;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @Description: mom_eam_inspection_cycle
 * @Author: cj
 * @Date:   2023-04-06
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_inspection_cycle")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="点检周期规则", description="点检周期规则")
public class InspectionCycle extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**周期编码*/
    @Excel(name = "周期编码", width = 15)
    @ApiModelProperty(value = "周期编码")
    private String code;
    /**周期名称*/
    @Excel(name = "周期名称", width = 15)
    @ApiModelProperty(value = "周期名称")
    private String name;
    /**周期*/
    @Excel(name = "周期", width = 15)
    @ApiModelProperty(value = "周期")
    private BigDecimal cycle;
    /**周期单位*/
    @Excel(name = "周期单位", width = 15)
    @ApiModelProperty(value = "周期单位")
    private String cycleUnit;
    /**首次点检时间*/
    @Excel(name = "首次点检时间", width = 15)
    @ApiModelProperty(value = "首次点检时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstInspectionTime;
    /**上次点检时间*/
    @Excel(name = "上次点检时间", width = 15)
    @ApiModelProperty(value = "上次点检时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastInspectionTime;
    /**提前时间*/
    @Excel(name = "提前时间", width = 15)
    @ApiModelProperty(value = "提前时间")
    private BigDecimal leadTime;
    /**有效时间*/
    @Excel(name = "有效时间", width = 15)
    @ApiModelProperty(value = "有效时间")
    private BigDecimal effectiveTime;
    /**时间单位*/
    @Excel(name = "时间单位", width = 15)
    @ApiModelProperty(value = "时间单位")
    private String unit;
    /**版本*/
    @Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private String version;
    /**版本状态*/
    @Excel(name = "版本状态", width = 15)
    @ApiModelProperty(value = "版本状态")
    private String versionStatus;
    /**审核状态*/
    @Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
    private String auditStatus;
    /**日历*/
    @Excel(name = "日历", width = 15)
    @ApiModelProperty(value = "日历")
    private String calendar;
    /**开工条件*/
    @Excel(name = "开工条件", width = 15)
    @ApiModelProperty(value = "开工条件")
    private String startCondition;
    /**调整方式*/
    @Excel(name = "调整方式", width = 15)
    @ApiModelProperty(value = "调整方式")
    private String arrangeWay;
    /**企业id*/
    @Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;
    /**租户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;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String inspectionCycleUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String inspectionCycleUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String inspectionCycleUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String inspectionCycleUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String inspectionCycleUda5;
 
    /**版本数据ID*/
    @Excel(name = "版本数据ID", width = 15)
    @ApiModelProperty(value = "版本数据ID")
    private String dataVersionId;
 
    @ApiModelProperty(value = "逾期处理方式")
    private String overdueDisposeMode;
 
    @ApiModelProperty(value = "依据日历")
    private String accordingCalendar;
 
    /**
     * 生效时间
     */
    @ApiModelProperty(value = "生效时间")
    @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")
    private java.util.Date takeEffectTime;
 
    /**
     * 失效时间
     */
    @ApiModelProperty(value = "失效时间")
    @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")
    private java.util.Date loseEfficacyTime;
 
    @TableField(exist = false)
    private String equipmentId;
    @TableField(exist = false)
    private String teamId;
    @TableField(exist = false)
    private String inspectionStandardId;
    @TableField(exist = false)
    private String inspectionStandardNum;
    @TableField(exist = false)
    private String inspectionProjectId;
    @TableField(exist = false)
    private String inspectionProjectName;
    @TableField(exist = false)
    private String detectionStandard;
    @TableField(exist = false)
    private String inspectionStandardDetailId;
    @TableField(exist = false)
    private String location;
    @TableField(exist = false)
    private String photo;
    @TableField(exist = false)
    private String inspectionMethod;
 
 
}