陈力
2023-06-09 cca5f79b3af36e5a908c5dfecbd30110febe3baa
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
package com.lotaai.canguiayw.sqllitedb;
 
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
 
@Entity
public class GridModel {
    @Id(autoincrement = true)
    private Long id;
 
    private int guiHao;
 
    private int gridNo;
 
    private int state;//0-空闲  1-占用  2-锁定不可用
 
    @Generated(hash = 298840528)
    public GridModel(Long id, int guiHao, int gridNo, int state) {
        this.id = id;
        this.guiHao = guiHao;
        this.gridNo = gridNo;
        this.state = state;
    }
 
    @Generated(hash = 1303993848)
    public GridModel() {
    }
 
    public Long getId() {
        return this.id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public int getGuiHao() {
        return this.guiHao;
    }
 
    public void setGuiHao(int guiHao) {
        this.guiHao = guiHao;
    }
 
    public int getGridNo() {
        return this.gridNo;
    }
 
    public void setGridNo(int gridNo) {
        this.gridNo = gridNo;
    }
 
    public int getState() {
        return this.state;
    }
 
    public void setState(int state) {
        this.state = state;
    }
    
}