新版仿ok交易所-后端
zj
2025-02-08 75018b2f492444248d8b476d9703bb312d2befc3
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
package com.yami.trading.bean.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yami.trading.common.domain.BaseEntity;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
@Data
@TableName("t_money_log")
public class MoneyLog extends BaseEntity {
    private static final long serialVersionUID = -5914896022101327097L;
    /**
     * 账号类型
     */
    private String walletType;
    /**
     * 账变币对
     */
    private String symbol;
    @TableField(exist = false)
    private  String wallet_type;
    /**
     * 交易类型
     */
    private String category;
    /**
     * 用户id
     */
    private String userId;
 
    /**
     * 交易金额
     */
    private BigDecimal amount =new BigDecimal(0);
    /**
     * 操作之后
     */
    private BigDecimal amountBefore =new BigDecimal(0);
 
    @TableField(exist = false)
    private BigDecimal amount_before =new BigDecimal(0);
 
    /**
     * 操作之前
     */
    private BigDecimal amountAfter = new BigDecimal(0);
    @TableField(exist = false)
    private BigDecimal amount_after =new BigDecimal(0);
 
    private String log;
    /**
     * 资金日志提供的内容 :提币 充币 永续建仓 永续平仓 手续费
     */
    private String contentType;
 
    @TableField(exist = false)
    private String content_type;
 
 
    @TableField(exist = false)
    private String createTimeStr;
}