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