qushaowei
2025-06-17 68b6b248be403bfd684472a4a4876e5d35101e71
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
package org.jeecg.modules.eam.entity;
 
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.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_maintenance_cycle
 * @Author: cj
 * @Date:   2023-04-13
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_maintenance_cycle")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="保养周期规则", description="保养周期规则")
public class MaintenanceCycle 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 firstMaintenanceTime;
    /**提前时间*/
    @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 calendarType;
    /**调整方式*/
    @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 maintenanceCycleUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String maintenanceCycleUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String maintenanceCycleUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String maintenanceCycleUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String maintenanceCycleUda5;
 
    @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;
 
    @ApiModelProperty(value = "ABC标识")
    private String equipmentImportanceId;
 
    @ApiModelProperty(value = "维保类型")
    @Dict(dicCode = "maintenance_type")
    private String maintenanceType;
 
 
}