package com.njzscloud.supervisory.user.pojo;

import com.njzscloud.common.security.support.MenuResource;
import com.njzscloud.supervisory.user.contant.Gender;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class MyResult {
    /**
     * Id
     */
    private Long id;

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

    /**
     * 头像
     */
    private String avatar;

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

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机号
     */
    private String phone;

    List<MenuResource> menus;

    List<Map<String, Object>> setting;
}
