package com.muchinfo.mtp3pojos.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "OrganSelectParam对象", description = "查询下拉框机构")
public class OrganSelectParam {

    @ApiModelProperty(value = "所有子级")
    private Long parentuserid;
    private String searchcode;
    @ApiModelProperty(value = "账户名称")
    private String accountname;
    @ApiModelProperty(value = "所有用户除了平台 0 否 1 是")
    private Integer allUsersButPlatform;
    @ApiModelProperty(value = "管理员所属机构角色类型")
    private String orgztypes ;
    @ApiModelProperty(value = "履约时查买卖方的")
    private Long planformanceuserid;
    @ApiModelProperty(value = "会员 及子机构管理员")
    private Long memberuserid;
    private String usertype = "2";//默认机构
    @ApiModelProperty(value = "账户id")
    private Long userid;//
    private String roles;
    private String exists; //排除的角色  1,2
    private Long parentuseridfirst;//直接下级
    private Integer level; //机构层级
    private Integer roletypeid;
    private String companyexists; //扩展角色表1,2,用于百色企业管理的
    private Integer orgtype; //组织机构类型
    private String subarealevelpath;
    private String usertypeIds;
    private String[] usertypeArray;
    private Integer isusertype;    // 是否根据usertype去查 0-否 1-是
    private Integer pageSize;
}
