Blame view

Yi.Vben5.Vue3/apps/web-antd/src/api/system/role/model.d.ts 604 Bytes
515fceeb   “wangming”   框架初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  export interface Role {
    id: string;
    creationTime: string;
    creatorId?: string | null;
    lastModifierId?: string | null;
    lastModificationTime?: string | null;
    isDeleted?: boolean;
    orderNum: number;
    state: boolean;
    roleName: string;
    roleCode: string;
    remark?: string | null;
    dataScope: string;
    menuIds?: string[];
    deptIds?: string[];
  }
  
  export interface DeptOption {
    id: string;
    parentId: string | null;
    orderNum: number;
    deptName: string;
    state: boolean;
    children?: DeptOption[] | null;
  }
  
  export interface DeptResp {
    checkedKeys: string[];
    depts: DeptOption[];
  }