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;
|
}
|
}
|