yujian
2020-03-24 f15acf7f2d57db3a32c574b0dfc21f564dca6024
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
package com.yeshi.fanli.entity.order;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
 
/**
 * 邀请订单补贴
 * 
 * @author Administrator
 *
 */
@Table("yeshi_ec_invite_order_subsidy")
public class InviteOrderSubsidy {
 
    public static final int LEVEL_ONE = 1;// 直接补贴
    public static final int LEVEL_TWO = 2;// 间接补贴
 
    // 未知
    public static final int STATE_UNKNOWN = 0;
    // 可补贴
    public static final int STATE_VALID = 1;
    // 不可补贴
    public static final int STATE_INVALID = 2;
    // 已补贴成功
    public static final int STATE_SUBSIDIZED = 3;
 
    public InviteOrderSubsidy(Long id) {
        super();
        this.id = id;
    }
 
    public InviteOrderSubsidy() {
    }
 
    @Column(name = "os_id")
    private Long id;
    @Column(name = "os_uid")
    private Long uid;
    @Column(name = "os_money")
    private BigDecimal money;
    @Column(name = "os_original_money")
    private BigDecimal originalMoney;// 原返利
    @Column(name = "os_order_no")
    private String orderNo;
    @Column(name = "os_source_type")
    private Integer sourceType;
    @Column(name = "os_state")
    private Integer state;
    @Column(name = "os_create_time")
    private Date createTime;
    @Column(name = "os_update_time")
    private Date updateTime;
    @Column(name = "os_pre_get_time")
    private Date preGetTime;
    @Column(name = "os_get_time")
    private Date getTime;
    @Column(name = "os_level")
    private Integer level;// 直接/间接
 
    public Integer getLevel() {
        return level;
    }
 
    public void setLevel(Integer level) {
        this.level = level;
    }
 
    public Date getPreGetTime() {
        return preGetTime;
    }
 
    public void setPreGetTime(Date preGetTime) {
        this.preGetTime = preGetTime;
    }
 
    public Date getGetTime() {
        return getTime;
    }
 
    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public String getOrderNo() {
        return orderNo;
    }
 
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
 
    public Integer getSourceType() {
        return sourceType;
    }
 
    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public BigDecimal getOriginalMoney() {
        return originalMoney;
    }
 
    public void setOriginalMoney(BigDecimal originalMoney) {
        this.originalMoney = originalMoney;
    }
 
}