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.
35 lines (30 loc) • 585 B
text/typescript
// export interface Country {
// id: number;
// name: string;
// code: string;
// currency: Currency;
// phoneCode: string;
// flag: string;
// }
import { User } from "../user";
// export interface Currency {
// id: number;
// name: string;
// code: string;
// symbol: string;
// }
export interface Department {
id: number;
name: string;
municipalities: Municipality[];
createdAt: Date;
updatedAt: Date;
}
export interface Municipality {
id: number;
name: string;
department: Department;
users: User[];
createdAt: Date;
updatedAt: Date;
}