admin
2021-06-30 a3304721c2e45e0f2ebd3139fdd623353f2ac72a
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
package com.ks.lijin.pojo.DO;
 
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
@Table("tlj_provider_account")
public class LiJinProviderTaoKeAccount implements Serializable {
    //正常
    public final static int ERROR_CODE_NORMAL = 0;
    //资金不足
    public final static int ERROR_CODE_MONEY_NOT_ENOUGH = 10;
    //商品数量不足
    public final static int ERROR_CODE_GOODS_NOT_ENOUGH = 20;
 
    //其他错误
    public final static int ERROR_CODE_OTHER = 30;
 
 
    @Column(name = "ac_id")
    private Long id;
 
    @Column(name = "ac_provider_id")
    private Long providerId;
 
    @Column(name = "ac_account_name")
    private String accountName;
 
    @Column(name = "ac_app_key")
    private String appKey;
 
    @Column(name = "ac_app_secret")
    private String appSecret;
 
    @Column(name = "ac_pid")
    private String pid;
 
    @Column(name = "ac_max_money")
    private BigDecimal maxMoney;
 
    @Column(name = "ac_max_number")
    private Integer maxNumber;
 
    @Column(name = "ac_today_consume_money")
    private BigDecimal todayConsumeMoney;
 
    @Column(name = "ac_today_consume_number")
    private Integer todayConsumeNumber;
 
    @Column(name = "ac_state")
    private Integer state;
 
    /**
     * 权重
     */
    @Column(name = "ac_weight")
    private Integer weight;
 
    /**
     * /错误码 0-无错误
     */
    @Column(name = "ac_error_code")
    private Integer errorCode;
    @Column(name = "ac_error_msg")
    private String errorMsg;
 
    @Column(name = "ac_creator_id")
    private Long creatorId;
 
    @Column(name = "ac_create_time")
    private Date createTime;
 
    @Column(name = "ac_updator_id")
    private Long updatorId;
 
    @Column(name = "ac_update_time")
    private Date updateTime;
 
    public String getPid() {
        return pid;
    }
 
    public void setPid(String pid) {
        this.pid = pid;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Long getProviderId() {
        return providerId;
    }
 
    public void setProviderId(Long providerId) {
        this.providerId = providerId;
    }
 
    public String getAccountName() {
        return accountName;
    }
 
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }
 
    public String getAppKey() {
        return appKey;
    }
 
    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }
 
    public String getAppSecret() {
        return appSecret;
    }
 
    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }
 
    public BigDecimal getMaxMoney() {
        return maxMoney;
    }
 
    public void setMaxMoney(BigDecimal maxMoney) {
        this.maxMoney = maxMoney;
    }
 
    public Integer getMaxNumber() {
        return maxNumber;
    }
 
    public void setMaxNumber(Integer maxNumber) {
        this.maxNumber = maxNumber;
    }
 
    public BigDecimal getTodayConsumeMoney() {
        return todayConsumeMoney;
    }
 
    public void setTodayConsumeMoney(BigDecimal todayConsumeMoney) {
        this.todayConsumeMoney = todayConsumeMoney;
    }
 
    public Integer getTodayConsumeNumber() {
        return todayConsumeNumber;
    }
 
    public void setTodayConsumeNumber(Integer todayConsumeNumber) {
        this.todayConsumeNumber = todayConsumeNumber;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Long getCreatorId() {
        return creatorId;
    }
 
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Long getUpdatorId() {
        return updatorId;
    }
 
    public void setUpdatorId(Long updatorId) {
        this.updatorId = updatorId;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Integer getErrorCode() {
        return errorCode;
    }
 
    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }
 
    public String getErrorMsg() {
        return errorMsg;
    }
 
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
 
    public Integer getWeight() {
        return weight;
    }
 
    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}