Files
simrsx-fe/app/models/_model.ts

28 lines
498 B
TypeScript

// Default item meta model for entities
export interface ItemMeta {
id: number
createdAt: string | null
deletedAt: string | null
updatedAt: string | null
}
// Pagination meta model for API responses
export interface PaginationMeta {
page_number: string
page_size: string
record_totalCount: string
source: string
}
export interface TreeItem {
value: string
label: string
hasChildren: boolean
children?: TreeItem[]
}
export interface Base {
name: string
code: string
}