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

import com.njzscloud.supervisory.biz.constant.BizObj;
import com.njzscloud.supervisory.sys.role.pojo.result.RoleDetailResult;
import com.njzscloud.supervisory.sys.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 BizObj bizObj;
    private Long tenantId;
    /**
     * 账号信息
     */
    private UserAccountDetailResult account;
    /**
     * 角色列表
     */
    private List<RoleDetailResult> roles;

}
