wzy
2020-10-16 1d8945ea7ba27eb6bd8bec14579586e1c88b756e
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
package com.xcong.excoin.modules.agent.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.entity.BaseEntity;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
 
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2020-06-11
 **/
@Slf4j
@Data
@TableName("agent_friend_relation")
public class AgentFriendRelationEntity extends BaseEntity {
 
    /**
     * 后台用户ID
     */
    private Long userId;
 
    /**
     * 会员ID
     */
    private Long memberId;
 
    /**
     * 邀请码
     */
    private String inviteId;
 
    /**
     * 上级代理用户ID
     */
    private Long refererMemberId;
 
    /**
     * 上级代理邀请码
     */
    private String refererId;
 
    /**
     * 上级邀请码链
     */
    private String refererIds;
 
    /**
     * 返佣比例
     */
    private BigDecimal returnRatio;
 
    /**
     * 代理层级
     */
    private Integer levelId;
 
    /**
     * 手续费是否设置自己
     */
    private Integer feeIsSelf;
 
}