mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 13:57:54 +00:00
Add unit module with controller, service, dtos, and middleware
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export interface GetUnitByUuidInterface {
|
||||
uuid: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface UnitChildInterface {
|
||||
uuid: string;
|
||||
name: string;
|
||||
type: string;
|
||||
totalCount?: number;
|
||||
children?: UnitChildInterface[];
|
||||
}
|
||||
export interface UnitParentInterface {
|
||||
uuid: string;
|
||||
name: string;
|
||||
type: string;
|
||||
parent?: UnitParentInterface;
|
||||
}
|
||||
Reference in New Issue
Block a user