package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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("DeviceManage")
|
@TableName(schema = "db_experiment",value = "tb_device_manage")
|
public class DeviceManage {
|
|
private Integer num;
|
@TableId(type = IdType.INPUT)
|
private Integer deviceId;
|
private String deviceName;
|
/**设备品牌*/
|
private String deviceBrand;
|
/**设备型号*/
|
private String deviceVersion;
|
/**设备类型*/
|
@TableField(exist = false)
|
private DeviceType deviceType;
|
/**设备类型名称*/
|
@TableField(exist = false)
|
private String deviceTypeName;
|
/**设备类型*/
|
private Integer deviceTypeId;
|
/**使用年限*/
|
private Integer usefulLife;
|
/**调试完成时间*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
|
private Date debugTime;
|
/**入库时间*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
|
private Date createTime;
|
/**安装场地*/
|
private String site;
|
/**责任人*/
|
private String owner;
|
/**TODO*/
|
private String param;
|
/**报废时间*/
|
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
|
private Date scrapTime;
|
/**设备状态:新增时设备状态为1(入库),报废时设备状态为0(出库)*/
|
private Byte status;
|
|
public Integer getNum() {
|
return num;
|
}
|
|
public void setNum(Integer num) {
|
this.num = num;
|
}
|
|
public Integer getDeviceId() {
|
return deviceId;
|
}
|
|
public void setDeviceId(Integer deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
public String getDeviceName() {
|
return deviceName;
|
}
|
|
public void setDeviceName(String deviceName) {
|
this.deviceName = deviceName;
|
}
|
|
public String getDeviceBrand() {
|
return deviceBrand;
|
}
|
|
public void setDeviceBrand(String deviceBrand) {
|
this.deviceBrand = deviceBrand;
|
}
|
|
public String getDeviceVersion() {
|
return deviceVersion;
|
}
|
|
public void setDeviceVersion(String deviceVersion) {
|
this.deviceVersion = deviceVersion;
|
}
|
|
public DeviceType getDeviceType() {
|
return deviceType;
|
}
|
|
public void setDeviceType(DeviceType deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public Integer getUsefulLife() {
|
return usefulLife;
|
}
|
|
public void setUsefulLife(Integer usefulLife) {
|
this.usefulLife = usefulLife;
|
}
|
|
public Date getDebugTime() {
|
return debugTime;
|
}
|
|
public void setDebugTime(Date debugTime) {
|
this.debugTime = debugTime;
|
}
|
|
public String getSite() {
|
return site;
|
}
|
|
public void setSite(String site) {
|
this.site = site;
|
}
|
|
public String getOwner() {
|
return owner;
|
}
|
|
public void setOwner(String owner) {
|
this.owner = owner;
|
}
|
|
public String getParam() {
|
return param;
|
}
|
|
public void setParam(String param) {
|
this.param = param;
|
}
|
|
public Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getScrapTime() {
|
return scrapTime;
|
}
|
|
public void setScrapTime(Date scrapTime) {
|
this.scrapTime = scrapTime;
|
}
|
|
public Integer getDeviceTypeId() {
|
return deviceTypeId;
|
}
|
|
public void setDeviceTypeId(Integer deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
}
|
|
public String getDeviceTypeName() {
|
return deviceTypeName;
|
}
|
|
public void setDeviceTypeName(String deviceTypeName) {
|
this.deviceTypeName = deviceTypeName;
|
}
|
}
|