Files
backend/src/unit/interface/unit.interface.ts
2024-04-14 10:47:54 +03:00

27 lines
493 B
TypeScript

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;
}
export interface RenameUnitByUuidInterface {
uuid: string;
name: string;
type: string;
}