package com.njzscloud.supervisory.user.pojo;

import com.njzscloud.supervisory.role.pojo.RoleDetailResult;
import com.njzscloud.supervisory.user.contant.Gender;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
public class UserDetailResult {
    private Long id;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 性别; 字典代码：gender
     */
    private Gender gender;

    private String avatar;

    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String phone;
    private Long tenantId;
    /**
     * 账号信息
     */
    private UserAccountDetailResult account;
    /**
     * 角色列表
     */
    private List<RoleDetailResult> roles;

}
