fix
Helius
2022-11-12 640e45fb859f16ced7c3ac14a5e3ac14c427eef9
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
package cc.mrbird.febs.dapp.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
@TableName("dapp_online_transfer")
public class DappOnlineTransferEntity extends BaseEntity {
 
//    public DappOnlineTransferEntity() {}
//
//    public DappOnlineTransferEntity(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String batchNo) {
//        new DappOnlineTransferEntity(address, amount, type, targetType, symbol, fromType, "BSC", batchNo);
//    }
//
//    public DappOnlineTransferEntity(String address, BigDecimal amount, Integer type, Integer targetType, String fromType, String symbol, String chain, String batchNo) {
//        this.address = address;
//        this.amount = amount;
//        this.type = type;
//        this.targetType = targetType;
//        this.symbol = symbol;
//        this.chain = chain;
//        this.batchNo = batchNo;
//        this.fromType = fromType;
//        this.hasFinish = 2;
//    }
 
    private String address;
 
    private BigDecimal amount;
 
    /**
     * 流水类型 1-买入 2-卖出 3-挖矿 4-奖励
     */
    private Integer type;
 
    /**
     * 对象类型 1-普通账户 2-销毁账户 3-技术账户
     */
    private Integer targetType;
 
    /**
     * 发送地址类型 枚举类
     */
    private String fromType;
 
    /**
     * 币种 TFC/USDT
     */
    private String symbol;
 
    private String chain;
 
    private String batchNo;
 
    /**
     * 是否已转账 1-是 2-否
     */
    private Integer hasFinish;
 
    private String txHash;
 
}