echadospalante-core
Version:
This package contains the core of the echadospalante project, it contains the domain entities, helpers, and other utilities that are shared between the different services.
17 lines (16 loc) • 351 B
TypeScript
import { UserDetail } from "../user";
export interface Department {
id: number;
name: string;
municipalities: Municipality[];
createdAt: Date;
updatedAt: Date;
}
export interface Municipality {
id: number;
name: string;
department: Department;
userDetails: UserDetail[];
createdAt: Date;
updatedAt: Date;
}