xiaoyong931011
2020-07-31 b34be29401abfe68c05e7e47af2888f0a54ba12f
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
package com.xcong.excoin.modules.documentary.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2020-07-29
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("follow_follower_profit")
public class FollowFollowerProfitEntity extends BaseEntity {
 
    public static final Integer IS_FOLLOW_Y = 1;
    public static final Integer IS_FOLLOW_N = 2;
 
    /**
     * 主键ID
     */
    private Long id;
    /**
     * 跟随者ID
     */
    private Long memberId;
    /**
     * 交易员ID
     */
    private Long tradeId;
    /**
     * 交易员会员ID
     */
    private Long tradeMemberId;
    /**
     * 累计跟随本金
     */
    private BigDecimal totalPrincipal;
    /**
     * 累计收益
     */
    private BigDecimal totalProfit;
    /**
     * 是否跟随 1-是 2-否
     */
    private Integer isFollow;
}