2024-05-29 17:58:57 +07:00
|
|
|
interface Pagination {
|
2024-06-05 09:25:47 +07:00
|
|
|
page: number;
|
2024-05-29 17:58:57 +07:00
|
|
|
rowsPerPage: number;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-30 14:04:48 +07:00
|
|
|
interface ItemsMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
type: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-13 09:59:02 +07:00
|
|
|
interface DataOption {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface SystemList {
|
|
|
|
|
attrIsCreate: boolean;
|
|
|
|
|
attrIsDelete: boolean;
|
|
|
|
|
attrIsGet: boolean;
|
|
|
|
|
attrIsList: boolean;
|
|
|
|
|
attrIsUpdate: boolean;
|
|
|
|
|
attrOwnership: string;
|
|
|
|
|
attrPrivilege: string;
|
|
|
|
|
id: string;
|
|
|
|
|
order: 1;
|
|
|
|
|
parentId: string | null;
|
|
|
|
|
selected: boolean;
|
|
|
|
|
sysDescription: string;
|
|
|
|
|
sysName: string;
|
|
|
|
|
children?: SystemList[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface DataSystem {
|
|
|
|
|
attrIsCreate: boolean;
|
|
|
|
|
attrIsDelete: boolean;
|
|
|
|
|
attrIsGet: boolean;
|
|
|
|
|
attrIsList: boolean;
|
|
|
|
|
attrIsUpdate: boolean;
|
|
|
|
|
attrOwnership: string;
|
|
|
|
|
attrPrivilege: string;
|
|
|
|
|
authRoleId: string;
|
|
|
|
|
authSysId: string;
|
|
|
|
|
createdAt: string;
|
|
|
|
|
createdFullName: string;
|
|
|
|
|
createdUserId: string;
|
|
|
|
|
id: string;
|
|
|
|
|
lastUpdateFullName: string;
|
|
|
|
|
lastUpdateUserId: string;
|
|
|
|
|
lastUpdatedAt: string;
|
|
|
|
|
parentNode: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type { Pagination, ItemsMenu, DataOption, SystemList, DataSystem };
|