Add building interfaces for parent and child relationships

This commit is contained in:
faris Aljohari
2024-04-03 14:52:07 +03:00
parent 6fedcb6c3b
commit 296457310a

View File

@ -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;
}