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

import com.njzscloud.common.security.support.EndpointResource;
import com.njzscloud.common.security.support.MenuResource;
import com.njzscloud.supervisory.biz.contant.BizObj;
import com.njzscloud.supervisory.biz.pojo.result.SearchCompanyResult;
import com.njzscloud.supervisory.sys.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 {
    private List<MenuResource> menus;

    private List<EndpointResource> endpoints;

    private List<Map<String, Object>> setting;
    private BizObj bizObj;
    private SearchCompanyResult company;

    /**
     * Id
     */
    private Long id;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 性别; 字典代码：gender
     */
    private Gender gender;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String phone;
}
