package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import org.apache.ibatis.type.Alias;
|
|
/**
|
* 设备管理
|
*/
|
@Alias("DeviceManage")
|
@TableName(schema = "db_experiment",value = "tb_device_manage")
|
public class DeviceManage {
|
|
@TableId
|
private Integer num;
|
private Integer deviceId;
|
private String deviceName;
|
/**设备状态:新增时设备状态为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 Byte getStatus() {
|
return status;
|
}
|
|
public void setStatus(Byte status) {
|
this.status = status;
|
}
|
}
|