package com.bonus.sgzb.auth.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
*
* @author zhangshuwei
* @create
**/
@Data
public class UserAccountRequestVo {


    @ApiModelProperty(name = "platformId",value = "平台id")
    private Long platformId;

    @ApiModelProperty(name = "pid",value = "父ID")
    private Long pid;

    @ApiModelProperty(value = "同步过来的用户id")
    private String synUserId;

    @ApiModelProperty(value = "同步过来的父ID")
    private String synPid;

    @ApiModelProperty(name = "userAccountType",value = "账号类型，1，运营方，2.采购商，3供应商")
    private Integer userAccountType;

    @ApiModelProperty(name = "userName",value = "用户姓名")
    private String userName;

    @ApiModelProperty(name = "userAccountName",value = "账号")
    private String userAccountName;

    @ApiModelProperty(name = "accountNameLike",value = "账号模糊条件")
    private String accountNameLike;

    @ApiModelProperty(name = "password",value = "密码")
    private String password;

    @ApiModelProperty(name = "mobile",value = "电话")
    private String mobile;

    @ApiModelProperty(name = "email",value = "邮箱")
    private String email;

    @ApiModelProperty(name = "avatarPicSrc",value = "头像url")
    private String avatarPicSrc;

    @ApiModelProperty(name = "source",value = "账号来源 1 导入，2 注册")
    private Integer source;

    @ApiModelProperty(name = "administrator",value = "是否是管理员 0不是 1是")
    private Integer administrator;

    @ApiModelProperty(name = "channel",value = "供应商专用1.电商供应商（线上），2 非电商供应商（线下）")
    private Integer channel;

    @ApiModelProperty(name = "userStatus",value = "用户状态，0停用，1启用")
    private Integer userStatus;

    @ApiModelProperty(name = "subAccountType",value = "是否子账号（0非子账号,1=子账号)")
    private Integer subAccountType;

    @ApiModelProperty(name = "legalEntityOrganizationId",value = "用户所属核算单位组织机构编码")
    private Long legalEntityOrganizationId;

    @ApiModelProperty(name = "legalEntityOrganizationName",value = "用户所属核算单位组织机构名称")
    private String legalEntityOrganizationName;

    @ApiModelProperty(name = "departmentOrganizationId",value = "用户所属组织机构编码")
    private Long departmentOrganizationId;

    @ApiModelProperty(name = "departmentOrganizationName",value = "用户所属组织机构编码")
    private String departmentOrganizationName;

    @ApiModelProperty(name = "systemAccount",value = "系统3.0 对应账号，采购人身份会用到")
    private String systemAccount;

    @ApiModelProperty(name = "systemOrganizationId",value = "系统3.0对应的组织机构ID")
    private String systemOrganizationId;

    @ApiModelProperty(name = "systemOrganization",value = "系统3.0对应的组织机构")
    private String systemOrganization;

    @ApiModelProperty(name = "企业或个人")
    private Integer isPersonal;

    @ApiModelProperty(name = "是否开通采购业务")
    private Integer isBuyer;

    @ApiModelProperty(name = "是否开通供应业务")
    private Integer isSeller;

    /** 所属企业id **/
    private Long enterpriseId;

    /** 所属企业编码 **/
    private String enterpriseCode;

    @ApiModelProperty(name = "created",value = "创建时间")
    private Date created;

    @ApiModelProperty(name = "updated",value = "更新时间")
    private Date updated;

    @ApiModelProperty(name = "yn",value = "是否有效：0 无效；1：有效；")
    private Integer yn;

    @ApiModelProperty(name = "departmentOrganizationIdList",value = "用户所属组织机构编码集合")
    private List<Long> departmentOrganizationIdList;

    /**
     * 请求来源
     */
    private Integer requestSource;

    /**
     * 查询用户类型list
     */
    @ApiModelProperty(name = "userAccountTypeList",value = "账号类型，1，运营方，2.采购商，3供应商")
    private List<Integer> userAccountTypeList;

    @ApiModelProperty(name = "tagId", value = "标签Id")
    private Long tagId;

    @ApiModelProperty(name = "tagName", value = "标签名称")
    private String tagName;

    @ApiModelProperty(name = "tagId", value = "标签Id")
    private List<Long> tagIdList;

    @ApiModelProperty(name = "roleId", value = "角色ID")
    private Long roleId;

    @ApiModelProperty(name = "isSubCompany", value = "是否是子公司账号")
    private Boolean isSubCompany;

    /**
     * 注销状态：1未注销，0已注销
     */
    @ApiModelProperty(name = "cancelledStatus",value = "注销状态：1未注销，0已注销")
    private Integer cancelledStatus;

    /**
     * 企业编号集合
     */
    @ApiModelProperty(name = "enterpriseIdList",value = "企业编号集合")
    private List<String> enterpriseIdList;

    /**
     * 头像uid
     */
    @ApiModelProperty(name = "headPortraitUrl",value = "头像uid")
    private Long headPortraitUid;

    private Integer isPerson;

    private List<Long> idList;
}
