Administrator
2025-04-23 595b7935a30e84fba1bc3561d05f9d19d3e32e1f
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
package com.taoke.autopay.entity.agent;
 
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;
import org.springframework.data.annotation.Id;
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
/**
 * @author hxh
 * @title: ChannelAgentWidthDrawRecord
 * @description: 渠道结算记录
 * @date 2024/7/20 22:06
 */
@Builder
@Data
@Table(value = "table_agent_settle_record")
public class ChannelAgentSettleRecord {
    // 未结算:结算还未校验
    public final static int STATUS_NOT_SETTLE = 0;
    // 已结算: 校验过后的结算
    public final static int STATUS_SETTLED = 1;
    // 提现审核中
    public final static int STATUS_WITHDRAWING = 2;
    // 提现成功
    public final static int STATUS_WITHDRAW_SUCCESS = 3;
    // 提现被驳回
    public final static int STATUS_WITHDRAW_REJECTED = 4;
 
    @Tolerate
    public ChannelAgentSettleRecord() {
 
    }
 
 
    @Id
    @Column(name = "_id")
    private Long id;
    /**
     * 代理用户ID
     */
    @Column(name = "_agent_id")
    private Long agentId;
    /**
     * 结算日期
     */
    @Column(name = "_settle_day")
    private String settleDay;
    /**
     * 结算金额
     */
    @Column(name = "_settle_money")
    private BigDecimal settleMoney;
    /**
     * 实际结算金额
     */
    @Column(name = "_actual_settle_money")
    private BigDecimal actualSettleMoney;
 
    /**
     * 支付时间
     */
    @Column(name = "_pay_time")
    private Date payTime;
 
    @Column(name = "_status")
    private Integer status;
 
    @Column(name = "_status_desc")
    private String statusDesc;
 
    /**
     * 结算时间
     */
    @Column(name = "_settle_time")
    private Date settleTime;
 
    /**
     * 提现申请时间
     */
    @Column(name = "_withdraw_apply_time")
    private Date withDrawApplyTime;
 
    /**
     * 提现处理时间
     */
    @Column(name = "_withdraw_process_time")
    private Date withDrawProcessTime;
 
    @Column(name = "_alipay_name")
    private String alipayName;
 
    @Column(name = "_alipay_account")
    private String alipayAccount;
 
 
    @Column(name = "_create_time")
    private Date createTime;
    @Column(name = "_update_time")
    private Date updateTime;
 
    private ChannelAgent agent;
 
    private List<ChannelAgentSettleDetail> detailList;
 
 
}