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; }