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

import com.crm.rely.backend.core.pojo.BaseApproveTable;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
@Entity
@Table(name = "follow_deal")
public class FollowDealTable extends BaseApproveTable {
    private Long dealCustomId;
    @Column(name = "[deal_c_id]")
    private Long dealCId;

    private String dealPlatform;
    private Long dealLogin;
    private Long agentId;
    private Integer dealLoginType;
    private Integer distributionType;

    private Integer distributionRatio;
    private Integer settlementCycle;

    private Integer historyShow;

    private Date historyTime;

    private Integer introduceShow;

    private Integer valid;
    //权限展示 1平台 2代理
    private Integer permissionDisplay;
    private String ibNo;
    private Integer recommend;
    private Integer subIndex;

    private String nickname;
    private String personalSignature;
    private String traderStrategy;

    /**
     * 代理调整权限
     */
    private Integer agentUpdatePurview;

    /**
     * 代理分润比例
     */
    private Integer agentDistributionRatio;

    private Float balance;

    private Float equity;
    private Integer top;

    private String recommendReason;
    private String masterPass;
    private Integer masterStatus;
}
