export type RoleTableType = {
  count: number;
  createTime: string;
  creatorId: null;
  creatorName: string;
  id: number;
  isEnabled: number;
  roleDesc: string;
  roleKey: string;
  roleName: string;
  sort: string;
  updateTime: string;
};


export type PermissionsAPIType = {
  authority: boolean;
  children?: PermissionsAPIType[];
  id: number;
  name: string;
  parentId?: null;
  resourceType?: string;
}

export type AddRoleType ={
  id:number|null
  roleName:string
  roleDesc:string
  resources:number[]
}