陈力
2023-05-29 2b270f01facd18f5d2c105e48279482d3ff4b9c8
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
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;
 
@Entity
public class OrderDetail {
    @Id
    private long id;
    @NotNull
    private String orderNo;
    private String itemName;
    private int num;
    @Generated(hash = 1442626585)
    public OrderDetail(long id, @NotNull String orderNo, String itemName, int num) {
        this.id = id;
        this.orderNo = orderNo;
        this.itemName = itemName;
        this.num = num;
    }
    @Generated(hash = 268085433)
    public OrderDetail() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getOrderNo() {
        return this.orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getItemName() {
        return this.itemName;
    }
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }
    public int getNum() {
        return this.num;
    }
    public void setNum(int num) {
        this.num = num;
    }
}