package com.crm.rely.backend.core.pojo.view;

import com.crm.rely.backend.core.pojo.table.FollowDealTable;
import lombok.Data;

import javax.persistence.Entity;
import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Data
@Entity
public class FollowDealView extends FollowDealTable {

    private float profitRate;

    private int followCount;

    private String firstName;

    private String middle;

    private String lastName;

    private String nationality;

    private String nationalityName;
    private String nationalityEnName;

    private Float income;

    private Float drawDown;

    private Float followIncome;

    private Float winRate;

    private String email;

    private String pIbNo;

    private String salesNo;

    private BigDecimal walletAmount;

    /**
     * 冻结金额 比如说转出时吧wallet_amount金额扣除 加到这里 等转出完成扣除冻结金额
     */
    private BigDecimal frozenAmount;

    private String agentName;
    /**
     * 最大回撤率
     */
    private Float maxWithdrawalRate;
    /**
     * 手数
     */
    private Float volume;
    /**
     * 最大本金收益率
     */
    private Float principalRate;
    /**
     * 最大累计净值
     */
    private Float maxCumulativeEquity;
    /**
     * 总分
     */
    private Float totalScore;
    /**
     * 排名
     */
    private Integer ranking;

}
