package com.njzscloud.dispose.sys.user.pojo.result;

import com.njzscloud.dispose.sys.role.pojo.result.RoleDetailResult;
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;

    private String avatar;

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

}
