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