Helius
2021-04-23 9beb428f807920b0dd646edbed822313c47961c6
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
package com.xcong.excoin.modules.contract.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xcong.excoin.common.entity.BaseEntity;
import com.xcong.excoin.common.utils.BigDecimalSerialize;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
@TableName("follow_follower_profit")
public class FollowFollowerProfitEntity extends BaseEntity{
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static final Integer IS_FOLLOW_Y = 1;
    public static final Integer IS_FOLLOW_N = 2;
 
    /**
     * 跟随者ID
     */
    private Long memberId;
    /**
     * 交易员ID
     */
    private Long tradeId;
    /**
     * 交易员会员ID
     */
    private Long tradeMemberId;
    /**
     * 累计跟随本金
     */
    @JsonSerialize(using = BigDecimalSerialize.class)
    private BigDecimal totalPrincipal;
    /**
     * 累计收益
     */
    @JsonSerialize(using = BigDecimalSerialize.class)
    private BigDecimal totalProfit;
    /**
     * 是否跟随 1-是 2-否
     */
    private Integer isFollow;
}