package com.ho.user.vo.req;

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

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName: UserPageUserByDeptReqVO
 * TODO:类文件简单描述
 * @Author:
 * @CreateDate: 2019/9/20 17:00
 * @UpdateUser:
 * @UpdateDate: 2019/9/20 17:00
 * @Version: 0.0.1
 */
@Data
public class UserPageUserByDeptReqVO {

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "分页数量")
    private Integer pageSize=10;

    @ApiModelProperty(value = "组织id")
    @NotNull(message ="组织id不能为空")
    private Integer deptId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "状态 1:启用 0:未启用")
    private Integer status;

    //按角色查询人员新增字段
    @ApiModelProperty(hidden = true, value = "人员id列表")
    private List<String> userIds;
}
