whyczh
2021-04-07 1d2fde65447c074dc555e74e088b15826be0d8c8
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * 试验计划
 */
@Alias("TestPlan")
@TableName(schema = "`db_experiment`",value = "`tb_test_plan`")
public class TestPlan {
 
    @TableId(value = "num")
    private Integer num;
    private String planName;//试验名称
    private String proId;//所属项目id
    private String proName;//所属项目名称
    private String testType;//试验类别:普通
    private String testCase;//试验用例:试验用例1,试验用例2
    private String testAddress;//试验场地:1号实验室
    @JsonFormat(timezone = "Asia/Shanghai",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;//试验开始时间
    @JsonFormat(timezone = "Asia/Shanghai",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;//试验结束时间
    private String testers;//参与人员
    private String devices;//参试设备
    private String testWay;//试验方式:手动加载、自动加载
    private Float testDuration;//加载时长
    private String note;//注意事项
    @JsonFormat(timezone = "Asia/Shanghai",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;//创建时间
    private String creator;//创建人
    private Integer state;//状态:0:未开始,1:进行中,2:已结束,3:作废;审核状态:2(已结束时):未审核,6:已审核,8:已归档
    private String verifier;//审核人
    private Integer planCount;//计划次数
    private Integer testCount;//实际次数
    private String conclusion;//试验结论
 
    public TestPlan() {
    }
 
    @Override
    public String toString() {
        return "TestPlan{" +
                "num=" + num +
                ", planName='" + planName + '\'' +
                ", proId=" + proId +
                ", proName='" + proName + '\'' +
                ", testType='" + testType + '\'' +
                ", testCase='" + testCase + '\'' +
                ", testAddress='" + testAddress + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", testers='" + testers + '\'' +
                ", devices='" + devices + '\'' +
                ", testWay='" + testWay + '\'' +
                ", testDuration=" + testDuration +
                ", note='" + note + '\'' +
                ", createTime=" + createTime +
                ", creator='" + creator + '\'' +
                ", state=" + state +
                ", verifier='" + verifier + '\'' +
                ", planCount=" + planCount +
                ", testCount=" + testCount +
                ", conclusion='" + conclusion + '\'' +
                '}';
    }
 
    public Integer getNum() {
        return num;
    }
 
    public void setNum(Integer num) {
        this.num = num;
    }
 
    public String getPlanName() {
        return planName;
    }
 
    public void setPlanName(String planName) {
        this.planName = planName;
    }
 
    public String getProId() {
        return proId;
    }
 
    public void setProId(String proId) {
        this.proId = proId;
    }
 
    public String getProName() {
        return proName;
    }
 
    public void setProName(String proName) {
        this.proName = proName;
    }
 
    public String getTestType() {
        return testType;
    }
 
    public void setTestType(String testType) {
        this.testType = testType;
    }
 
    public String getTestAddress() {
        return testAddress;
    }
 
    public void setTestAddress(String testAddress) {
        this.testAddress = testAddress;
    }
 
    public Date getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
 
    public Date getEndTime() {
        return endTime;
    }
 
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
 
    public String getTesters() {
        return testers;
    }
 
    public void setTesters(String testers) {
        this.testers = testers;
    }
 
    public String getDevices() {
        return devices;
    }
 
    public void setDevices(String devices) {
        this.devices = devices;
    }
 
    public String getTestWay() {
        return testWay;
    }
 
    public void setTestWay(String testWay) {
        this.testWay = testWay;
    }
 
    public Float getTestDuration() {
        return testDuration;
    }
 
    public void setTestDuration(Float testDuration) {
        this.testDuration = testDuration;
    }
 
    public String getNote() {
        return note;
    }
 
    public void setNote(String note) {
        this.note = note;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getCreator() {
        return creator;
    }
 
    public void setCreator(String creator) {
        this.creator = creator;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public String getVerifier() {
        return verifier;
    }
 
    public void setVerifier(String verifier) {
        this.verifier = verifier;
    }
    public String getTestCase() {
        return testCase;
    }
 
    public void setTestCase(String testCase) {
        this.testCase = testCase;
    }
 
    public Integer getPlanCount() {
        return planCount;
    }
 
    public void setPlanCount(Integer planCount) {
        this.planCount = planCount;
    }
 
    public Integer getTestCount() {
        return testCount;
    }
 
    public void setTestCount(Integer testCount) {
        this.testCount = testCount;
    }
 
    public String getConclusion() {
        return conclusion;
    }
 
    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }
}