/
zj
2025-05-02 9102aa7e0b42ce5b9667fa3b67fede889df60fc0
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
package project.log;
 
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Table;
 
import kernel.bo.EntityObject;
import java.util.TimeZone;
 
@Table(name="T_MONEY_LOG")
public class MoneyLog extends EntityObject {
    
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");  
    
    @Column(name="LOG")
    private String log;
    
    @Column(name="WALLETTYPE")
    private String wallettype;
    
    @Column(name="CATEGORY")
    private String category;
    
    @Column(name="CREATE_TIME")
    private Date createTime;
    
    @Column(name="PARTY_ID")
    private Serializable partyId;
 
    @Column(name="AMOUNT")
    private double amount = 0.0D;
 
    @Column(name="AMOUNT_BEFORE")
    private double amount_before = 0.0D;
 
    @Column(name="AMOUNT_AFTER")
    private double amount_after = 0.0D;
    
    /**
     * 资金日志提供的内容 :提币 充币 永续建仓 永续平仓 手续费
     */
    @Column(name="CONTENT_TYPE")
    private String content_type;
    
    private String createTimeStr;
    
    private static final long serialVersionUID = -5914896022101327097L;
 
    public String getWallettype() {
        return this.wallettype;
    }
 
    public void setWallettype(String wallettype) {
        this.wallettype = wallettype;
    }
 
    public Date getCreateTime() {
        return this.createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Serializable getPartyId() {
        return this.partyId;
    }
 
    public void setPartyId(Serializable partyId) {
        this.partyId = partyId;
    }
 
    public double getAmount() {
        return this.amount;
    }
 
    public void setAmount(double amount) {
        this.amount = amount;
    }
 
    public double getAmount_before() {
        return this.amount_before;
    }
 
    public void setAmount_before(double amount_before) {
        this.amount_before = amount_before;
    }
 
    public double getAmount_after() {
        return this.amount_after;
    }
 
    public void setAmount_after(double amount_after) {
        this.amount_after = amount_after;
    }
 
    public String getLog() {
        return this.log;
    }
 
    public void setLog(String log) {
        this.log = log;
    }
 
    public String getCategory() {
        return this.category;
    }
 
    public void setCategory(String category) {
        this.category = category;
    }
 
    public String getCreateTimeStr() {
        TimeZone timeZone = TimeZone.getTimeZone("GMT-4");
        sdf.setTimeZone(timeZone);
        return sdf.format(getCreateTime());
    }
 
    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }
 
    public String getContent_type() {
        return content_type;
    }
 
    public void setContent_type(String content_type) {
        this.content_type = content_type;
    }
}