mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-23 09:27:55 +00:00
Add building interfaces for parent and child relationships
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export interface GetBuildingByUuidInterface {
|
||||
uuid: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface BuildingChildInterface {
|
||||
uuid: string;
|
||||
name: string;
|
||||
type: string;
|
||||
totalCount?: number;
|
||||
children?: BuildingChildInterface[];
|
||||
}
|
||||
export interface BuildingParentInterface {
|
||||
uuid: string;
|
||||
name: string;
|
||||
type: string;
|
||||
parent?: BuildingParentInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user