shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
 
package com.ishop.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:EB_MERCHANT_DAILY_STATEMENT *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class EbMerchantDailyStatement extends BasePo<EbMerchantDailyStatement> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final EbMerchantDailyStatement ROW_MAPPER = new EbMerchantDailyStatement();
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Integer merId = null;
    @JsonIgnore
    protected boolean isset_merId = false;
 
    private Double orderPayAmount = null;
    @JsonIgnore
    protected boolean isset_orderPayAmount = false;
 
    private Integer orderNum = null;
    @JsonIgnore
    protected boolean isset_orderNum = false;
 
    private Double orderIncomeAmount = null;
    @JsonIgnore
    protected boolean isset_orderIncomeAmount = false;
 
    private Double handlingFee = null;
    @JsonIgnore
    protected boolean isset_handlingFee = false;
 
    private Double firstBrokerage = null;
    @JsonIgnore
    protected boolean isset_firstBrokerage = false;
 
    private Double secondBrokerage = null;
    @JsonIgnore
    protected boolean isset_secondBrokerage = false;
 
    private Double payoutAmount = null;
    @JsonIgnore
    protected boolean isset_payoutAmount = false;
 
    private Integer payoutNum = null;
    @JsonIgnore
    protected boolean isset_payoutNum = false;
 
    private Double refundAmount = null;
    @JsonIgnore
    protected boolean isset_refundAmount = false;
 
    private Integer refundNum = null;
    @JsonIgnore
    protected boolean isset_refundNum = false;
 
    private Double incomeExpenditure = null;
    @JsonIgnore
    protected boolean isset_incomeExpenditure = false;
 
    private String dataDate = null;
    @JsonIgnore
    protected boolean isset_dataDate = false;
 
    /**
     * 默认构造函数
     */
    public EbMerchantDailyStatement() {
    }
 
    /**
     * 根据主键构造对象
     */
    public EbMerchantDailyStatement(Long id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((Long) value);
    }
 
    public Long getId() {
        return this.id;
    }
 
    public void setId(Long id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null;
    }
 
    public Integer getMerId() {
        return this.merId;
    }
 
    public void setMerId(Integer merId) {
        this.merId = merId;
        this.isset_merId = true;
    }
 
    @JsonIgnore
    public boolean isEmptyMerId() {
        return this.merId == null;
    }
 
    public Double getOrderPayAmount() {
        return this.orderPayAmount;
    }
 
    public void setOrderPayAmount(Double orderPayAmount) {
        this.orderPayAmount = orderPayAmount;
        this.isset_orderPayAmount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrderPayAmount() {
        return this.orderPayAmount == null;
    }
 
    public Integer getOrderNum() {
        return this.orderNum;
    }
 
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
        this.isset_orderNum = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrderNum() {
        return this.orderNum == null;
    }
 
    public Double getOrderIncomeAmount() {
        return this.orderIncomeAmount;
    }
 
    public void setOrderIncomeAmount(Double orderIncomeAmount) {
        this.orderIncomeAmount = orderIncomeAmount;
        this.isset_orderIncomeAmount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOrderIncomeAmount() {
        return this.orderIncomeAmount == null;
    }
 
    public Double getHandlingFee() {
        return this.handlingFee;
    }
 
    public void setHandlingFee(Double handlingFee) {
        this.handlingFee = handlingFee;
        this.isset_handlingFee = true;
    }
 
    @JsonIgnore
    public boolean isEmptyHandlingFee() {
        return this.handlingFee == null;
    }
 
    public Double getFirstBrokerage() {
        return this.firstBrokerage;
    }
 
    public void setFirstBrokerage(Double firstBrokerage) {
        this.firstBrokerage = firstBrokerage;
        this.isset_firstBrokerage = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFirstBrokerage() {
        return this.firstBrokerage == null;
    }
 
    public Double getSecondBrokerage() {
        return this.secondBrokerage;
    }
 
    public void setSecondBrokerage(Double secondBrokerage) {
        this.secondBrokerage = secondBrokerage;
        this.isset_secondBrokerage = true;
    }
 
    @JsonIgnore
    public boolean isEmptySecondBrokerage() {
        return this.secondBrokerage == null;
    }
 
    public Double getPayoutAmount() {
        return this.payoutAmount;
    }
 
    public void setPayoutAmount(Double payoutAmount) {
        this.payoutAmount = payoutAmount;
        this.isset_payoutAmount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayoutAmount() {
        return this.payoutAmount == null;
    }
 
    public Integer getPayoutNum() {
        return this.payoutNum;
    }
 
    public void setPayoutNum(Integer payoutNum) {
        this.payoutNum = payoutNum;
        this.isset_payoutNum = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPayoutNum() {
        return this.payoutNum == null;
    }
 
    public Double getRefundAmount() {
        return this.refundAmount;
    }
 
    public void setRefundAmount(Double refundAmount) {
        this.refundAmount = refundAmount;
        this.isset_refundAmount = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRefundAmount() {
        return this.refundAmount == null;
    }
 
    public Integer getRefundNum() {
        return this.refundNum;
    }
 
    public void setRefundNum(Integer refundNum) {
        this.refundNum = refundNum;
        this.isset_refundNum = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRefundNum() {
        return this.refundNum == null;
    }
 
    public Double getIncomeExpenditure() {
        return this.incomeExpenditure;
    }
 
    public void setIncomeExpenditure(Double incomeExpenditure) {
        this.incomeExpenditure = incomeExpenditure;
        this.isset_incomeExpenditure = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIncomeExpenditure() {
        return this.incomeExpenditure == null;
    }
 
    public String getDataDate() {
        return this.dataDate;
    }
 
    public void setDataDate(String dataDate) {
        this.dataDate = dataDate;
        this.isset_dataDate = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDataDate() {
        return this.dataDate == null || this.dataDate.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("merId=").append(this.merId)
                .append("orderPayAmount=").append(this.orderPayAmount)
                .append("orderNum=").append(this.orderNum)
                .append("orderIncomeAmount=").append(this.orderIncomeAmount)
                .append("handlingFee=").append(this.handlingFee)
                .append("firstBrokerage=").append(this.firstBrokerage)
                .append("secondBrokerage=").append(this.secondBrokerage)
                .append("payoutAmount=").append(this.payoutAmount)
                .append("payoutNum=").append(this.payoutNum)
                .append("refundAmount=").append(this.refundAmount)
                .append("refundNum=").append(this.refundNum)
                .append("incomeExpenditure=").append(this.incomeExpenditure)
                .append("dataDate=").append(this.dataDate)
                .toString();
    }
 
    /**
     * 克隆
     */
    public EbMerchantDailyStatement $clone() {
        EbMerchantDailyStatement eb_merchant_daily_statement = new EbMerchantDailyStatement();
 
        // 数据库名称
        //eb_merchant_daily_statement.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            eb_merchant_daily_statement.setId(this.getId());
        }
        // 普通属性
        if (this.isset_merId) {
            eb_merchant_daily_statement.setMerId(this.getMerId());
        }
        if (this.isset_orderPayAmount) {
            eb_merchant_daily_statement.setOrderPayAmount(this.getOrderPayAmount());
        }
        if (this.isset_orderNum) {
            eb_merchant_daily_statement.setOrderNum(this.getOrderNum());
        }
        if (this.isset_orderIncomeAmount) {
            eb_merchant_daily_statement.setOrderIncomeAmount(this.getOrderIncomeAmount());
        }
        if (this.isset_handlingFee) {
            eb_merchant_daily_statement.setHandlingFee(this.getHandlingFee());
        }
        if (this.isset_firstBrokerage) {
            eb_merchant_daily_statement.setFirstBrokerage(this.getFirstBrokerage());
        }
        if (this.isset_secondBrokerage) {
            eb_merchant_daily_statement.setSecondBrokerage(this.getSecondBrokerage());
        }
        if (this.isset_payoutAmount) {
            eb_merchant_daily_statement.setPayoutAmount(this.getPayoutAmount());
        }
        if (this.isset_payoutNum) {
            eb_merchant_daily_statement.setPayoutNum(this.getPayoutNum());
        }
        if (this.isset_refundAmount) {
            eb_merchant_daily_statement.setRefundAmount(this.getRefundAmount());
        }
        if (this.isset_refundNum) {
            eb_merchant_daily_statement.setRefundNum(this.getRefundNum());
        }
        if (this.isset_incomeExpenditure) {
            eb_merchant_daily_statement.setIncomeExpenditure(this.getIncomeExpenditure());
        }
        if (this.isset_dataDate) {
            eb_merchant_daily_statement.setDataDate(this.getDataDate());
        }
        return eb_merchant_daily_statement;
    }
}