package com.starry.admin.modules.system.vo;

import com.starry.admin.modules.system.entity.SysDeptEntity;
import com.starry.admin.modules.system.entity.SysRoleEntity;
import com.starry.common.domain.BasePageEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 用户查询对象
 *
 * @author admin
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysUserQueryVo extends BasePageEntity {

    private static final long serialVersionUID = 1L;

    private Long userId;

    private Integer userType;

    private String userCode;

    private String passWord;

    private String realName;

    private String userNickname;

    private String userEmail;


    private String avatar;

    private String mobile;

    private Integer sex;

    private Date birthday;

    private Integer status;

    private Date lastLoginTime;

    private String lastLoginIp;

    private Long deptId;

    private Long tenantId;

    private List<SysRoleEntity> roles;

    private Long[] roleIds;


    private SysDeptEntity dept;

    private Long roleId;
}
