郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
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
package com.gkhy.safePlatform.safeCheck.model.dto.resp;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gkhy.safePlatform.safeCheck.model.dto.req.SafeCheckUnitAndQuotaReqDTO;
 
import java.io.Serializable;
import java.util.Date;
import java.util.List;
 
public class SafeCheckTaskUnitRespDTO implements Serializable {
 
    private Long id;
 
    private String uuid;
 
    //任务单元名称
    private String unitName;
 
    //作业类型:1-周期性作业;2-日常作业
    private Byte workType;
 
    //执行班组ID
    private Long execClassgroupId;
 
    //执行部门ID
    private Long execDepId;
 
    //文档地址
    private String fileAddress;
 
    //巡检周期-数值
    private int checkCycle;
 
    //时间单位:1-分钟,2-小时,3-日,4-月,5-年
    private Byte checkCycleUnit;
 
    //提前通知时间-数值
    private int noticeTime;
 
    //时间单位:1-分钟,2-小时,3-日,4-月,5-年
    private Byte noticeTimeUnit;
 
    //有效时间
    private int validTime;
 
    //时间单位:1-分钟,2-小时,3-日,4-月,5-年
    private Byte validTimeUnit;
 
    //作业调度起始时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date firstStartTime;
 
    //任务单元所有的巡检点
    private List<SafeCheckUnitAndQuotaRespDTO> points;
 
    public String getFileAddress() {
        return fileAddress;
    }
 
    public void setFileAddress(String fileAddress) {
        this.fileAddress = fileAddress;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getUuid() {
        return uuid;
    }
 
    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
 
    public String getUnitName() {
        return unitName;
    }
 
    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
 
    public Byte getWorkType() {
        return workType;
    }
 
    public void setWorkType(Byte workType) {
        this.workType = workType;
    }
 
    public Long getExecClassgroupId() {
        return execClassgroupId;
    }
 
    public void setExecClassgroupId(Long execClassgroupId) {
        this.execClassgroupId = execClassgroupId;
    }
 
    public Long getExecDepId() {
        return execDepId;
    }
 
    public void setExecDepId(Long execDepId) {
        this.execDepId = execDepId;
    }
 
    public int getCheckCycle() {
        return checkCycle;
    }
 
    public void setCheckCycle(int checkCycle) {
        this.checkCycle = checkCycle;
    }
 
    public Byte getCheckCycleUnit() {
        return checkCycleUnit;
    }
 
    public void setCheckCycleUnit(Byte checkCycleUnit) {
        this.checkCycleUnit = checkCycleUnit;
    }
 
    public int getNoticeTime() {
        return noticeTime;
    }
 
    public void setNoticeTime(int noticeTime) {
        this.noticeTime = noticeTime;
    }
 
    public Byte getNoticeTimeUnit() {
        return noticeTimeUnit;
    }
 
    public void setNoticeTimeUnit(Byte noticeTimeUnit) {
        this.noticeTimeUnit = noticeTimeUnit;
    }
 
    public int getValidTime() {
        return validTime;
    }
 
    public void setValidTime(int validTime) {
        this.validTime = validTime;
    }
 
    public Byte getValidTimeUnit() {
        return validTimeUnit;
    }
 
    public void setValidTimeUnit(Byte validTimeUnit) {
        this.validTimeUnit = validTimeUnit;
    }
 
    public Date getFirstStartTime() {
        return firstStartTime;
    }
 
    public void setFirstStartTime(Date firstStartTime) {
        this.firstStartTime = firstStartTime;
    }
 
    public List<SafeCheckUnitAndQuotaRespDTO> getPoints() {
        return points;
    }
 
    public void setPoints(List<SafeCheckUnitAndQuotaRespDTO> points) {
        this.points = points;
    }
}