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

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

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

/**
 * Created by max on 2020/5/8.
 */
@Data
@Entity
@Table(name = "mam_list")
public class MamListTable extends BaseTable{

    private Long agentId;

    private Long login;

    private String pwd;

    private Date validTime;

    private Long applyId;

    private String ibNo;

    private Long commissionLogin;

    private String name;

    private String email;

    private String mobile;

    private Integer identityType;

    private String identity;

    private Long accountType;

    private String leverage;

    private String currency;

    private Float commission;

    private String subs;

    private String tradePwd;

    private String readPwd;

    private String platform;

    private Long groupType;
    /**
     * 账户类型：
     * 1：MAM账户
     * 2：PAMM账户
     * 3: PAMM经理
     */
    private Integer type;

    /**
     * 所有者账户
     */
    private Long ownerId;
    /**
     * MT4交易账户
     */
    private Long accountId;
    /**
     * 收益分成
     */
    private Float percent;
    /**
     * PM系统编号
     */
    private Integer pmNo;
    /**
     * 锁定状态
     * 1：已加锁
     * 2：已解锁
     */
    private Integer lockStatus;

    private String pammPassword;

}
