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.common.security.support.UserDetail;
import com.njzscloud.supervisory.biz.constant.BizObj;
import com.njzscloud.supervisory.biz.pojo.entity.BizDriverEntity;
import com.njzscloud.supervisory.biz.pojo.result.SearchCompanyResult;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

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

@Getter
@Setter
@Accessors(chain = true)
public class MyResult extends UserDetail {
    private List<MenuResource> menus;
    private Set<String> roles;

    private List<EndpointResource> endpoints;

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

    /**
     * Id
     */
    private Long id;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 手机号
     */
    private String phone;

    /**
     * 微信openId
     */
    private String wechatOpenid;

    /**
     * 微信授权地址
     */
    private String wxAuthUrl;

}
