whyczh
2021-03-25 da9bb5ab7c3efac4e0cb65fe6aebe7b5cc4cfbf4
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
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;
    }
}