陈力
2023-06-14 ba96f2a660b7fe146e45e4a76ebc908776791b50
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package com.lotaai.canguiayw.sqllitedb;
 
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Unique;
 
@Entity
public class Order {
    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String orderId;
    @Unique
    private String orderNo;
    @NotNull
    private String gridNo;
    @NotNull
    private String xuHao;
    @NotNull
    private int state;//状态;0-未存餐 1-已存餐 2-已取餐 3-取消
    private String putInDate;
    private String takeCode;
    private String createTime;
    @Generated(hash = 295152111)
    public Order(Long id, String orderId, String orderNo, @NotNull String gridNo,
            @NotNull String xuHao, int state, String putInDate, String takeCode,
            String createTime) {
        this.id = id;
        this.orderId = orderId;
        this.orderNo = orderNo;
        this.gridNo = gridNo;
        this.xuHao = xuHao;
        this.state = state;
        this.putInDate = putInDate;
        this.takeCode = takeCode;
        this.createTime = createTime;
    }
    @Generated(hash = 1105174599)
    public Order() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getOrderId() {
        return this.orderId;
    }
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getOrderNo() {
        return this.orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getGridNo() {
        return this.gridNo;
    }
    public void setGridNo(String gridNo) {
        this.gridNo = gridNo;
    }
    public String getXuHao() {
        return this.xuHao;
    }
    public void setXuHao(String xuHao) {
        this.xuHao = xuHao;
    }
    public int getState() {
        return this.state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public String getPutInDate() {
        return this.putInDate;
    }
    public void setPutInDate(String putInDate) {
        this.putInDate = putInDate;
    }
    public String getTakeCode() {
        return this.takeCode;
    }
    public void setTakeCode(String takeCode) {
        this.takeCode = takeCode;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    }