package com.crm.rely.backend.core.entity.base;

import com.crm.rely.backend.core.entity.ib.trade.TradeShardingPageEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by max on 2020/3/31.
 */
@Data
public class BaseIbReportListEntity extends BaseSearchPageEntity{
    /**
     * -2 未归属
     * -1 直属
     * 0 所有
     */
    private Long agentId;

    private Long login;

    private Date startDate;

    private Date endDate;

    private String platform;

    private String stamp;

    private Long groupId;

    private Long pId;

    private String ibNo;

    private Long cId;

    private Long currentAgentId;

    private String lang;

    private Integer customType;

    private String salesNo;

    private Long salesId;

    private List<String> shardingYm;

    private String ym;

    private Long groupType;

    private TradeShardingPageEntity shardingPage;
    /**
     * 佣金来源
     * 用于个人中心-佣金收入
     */
    private Long fromAgentId;
    /**
     * 查询来源
     * true：代理中心查询
     * false：管理中心查询
     */
    private boolean fromIb;

    private List<Long> logins;

    private Long minLogin;

    private Long maxLogin;

    private Long pmLogin;
    /**
     * 代理数据权限代码
     * 用于销售佣金报表查询
     */
    private String agentStamp;

    private Integer dwType;

    private Integer isFinance;

    private Long ticket;

    private Integer isShort;

    private String idStamp;
    /**
     * 用户角色
     */
    private String userRole;
    /**
     * 当前登录用户ID
     */
    private Long userId;

    private List<Integer> loginTypes;

}
