whyczh
2021-03-26 03931e63dbbd79be8d8e29d496f3b2d5ce1c1bc2
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
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 java.util.Date;
 
/**
 * 试验计划
 */
@Alias("TestPlan")
@TableName(schema = "`db_experiment`",value = "`tb_test_plan`")
public class TestPlan {
 
    private Integer num;
    @TableId(value = "plan_id")
    private Integer planId;
    private String planName;//试验名称
    private String testType;//试验类别:普通
    private String testAddress;//试验场地:1号实验室
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;//试验开始时间
    @JsonFormat(locale = "zh",timezone = "GMT+8",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(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;//创建时间
    private String creator;//创建人
    private Integer state;//状态:0:未开始,1:进行中,2:已结束
    public TestPlan() {
    }
 
    @Override
    public String toString() {
        return "TestPlan{" +
                "num=" + num +
                ", planId=" + planId +
                ", planName='" + planName + '\'' +
                ", testType='" + testType + '\'' +
                ", testAddress='" + testAddress + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", testers='" + testers + '\'' +
                ", devices='" + devices + '\'' +
                ", testWay='" + testWay + '\'' +
                ", testDuration=" + testDuration +
                ", note='" + note + '\'' +
                ", createTime=" + createTime +
                ", creator='" + creator + '\'' +
                ", state=" + state +
                '}';
    }
 
    public Integer getNum() {
        return num;
    }
 
    public void setNum(Integer num) {
        this.num = num;
    }
 
    public Integer getPlanId() {
        return planId;
    }
 
    public void setPlanId(Integer planId) {
        this.planId = planId;
    }
 
    public String getPlanName() {
        return planName;
    }
 
    public void setPlanName(String planName) {
        this.planName = planName;
    }
 
    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;
    }
}