package com.xcong.excoin.modules.contract.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
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_trader_profit_info")
|
public class FollowTraderProfitInfoEntity extends BaseEntity{
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
/**
|
* 交易员ID
|
*/
|
private Long traderId;
|
/**
|
* 会员ID
|
*/
|
private Long memberId;
|
/**
|
* 累计收益率
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal totalProfitRatio;
|
/**
|
* 带单总收益
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal totalProfit;
|
/**
|
* 跟随者总收益
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal followerTotalProfit;
|
/**
|
* 胜率
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal winRate;
|
/**
|
* 累计跟随人数
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal totalFollowerCnt;
|
/**
|
* 交易笔数
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal totalOrderCnt;
|
|
@TableField(exist = false)
|
private String account;
|
|
@TableField(exist = false)
|
private String realName;
|
/**
|
* 手机号(包含国际手机号)
|
*/
|
@TableField(exist = false)
|
private String phone;
|
/**
|
* 邮箱
|
*/
|
@TableField(exist = false)
|
private String email;
|
/**
|
* 邀请码
|
*/
|
@TableField(exist = false)
|
private String inviteId;
|
|
/**
|
* 账号类型
|
*/
|
@TableField(exist = false)
|
private int accountType;
|
|
/**
|
* 利润率
|
*/
|
@TableField(exist = false)
|
private BigDecimal profitRatio;
|
/**
|
* 总返利
|
*/
|
@TableField(exist = false)
|
private BigDecimal profitRatioTotal;
|
|
|
}
|