package com.xcong.excoin.modules.contract.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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;
|
import java.util.Date;
|
|
/**
|
* 交易员信息表
|
*/
|
@Data
|
@TableName("follow_trader_info")
|
public class FollowTraderInfoEntity extends BaseEntity{
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date entryTime;
|
/**
|
* 会员ID
|
*/
|
private Long memberId;
|
/**
|
* 头像
|
*/
|
private String avatar;
|
/**
|
* 名称
|
*/
|
private String nickname;
|
/**
|
* 宣言
|
*/
|
private String declaration;
|
/**
|
* 是否满员 1-是2-否
|
*/
|
private Integer isAll;
|
public static final Integer IS_ALL_Y = 1;
|
public static final Integer IS_ALL_N = 2;
|
/**
|
* 设置成首页
|
*/
|
private Integer isSetFrist;
|
public static final Integer IS_SETFRIST_Y = 1;
|
public static final Integer IS_SETFRIST_N = 0;
|
/**
|
* 利润
|
*/
|
@JsonSerialize(using = BigDecimalSerialize.class)
|
private BigDecimal profitRatio;
|
/**
|
* 审核状态 1通过2不通过3待审核
|
*/
|
private Integer verifyStatus;
|
public static final Integer VERIFYSTATUS_Y = 1;
|
public static final Integer VERIFYSTATUS_N = 2;
|
public static final Integer VERIFYSTATUS_ING = 3;
|
/**
|
* 是否开启带单 1是2否
|
*/
|
private Integer isOpen;
|
public static final Integer ISOPEN_Y = 1;
|
public static final Integer ISOPEN_N = 2;
|
|
/**
|
* 最大跟随人数
|
*/
|
private Integer followNum;
|
|
@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 double walletNum;
|
@TableField(exist = false)
|
private double walletCoinNum;
|
@TableField(exist = false)
|
private double agentNum;
|
@TableField(exist = false)
|
private String isok;
|
//当前跟随人数
|
@TableField(exist = false)
|
private String followNumNow;
|
|
|
}
|