import type { VMenu } from '../../abc'; export interface VUser { name: string; principal: VUserPrincipal; tenantId: string; } export interface VUserPrincipal { accountNonExpired: boolean; accountNonLocked: boolean; authorities: VUserAuthority[]; avatarId: string; credentialsNonExpired: boolean; deptId: string; deptName: string; enabled: boolean; id: string; menu: VMenu[]; password: string; realname: string; roles: VUserRole[]; userCode: string; userId: string; userType: number; username: string; } export interface VUserAuthority { authority: string; } export interface VUserRole { id: string; onlyDeptOne: boolean; onlyOne: boolean; roleDesc: string; roleName: string; roleValue: string; status: number; thisDepartment: boolean; } export interface User { [key: string]: any; name?: string; avatar?: string; email?: string; links?: UserLink[]; } export interface UserLink { icon: string; name: string; url: string; }