source: Farmatiko/ClientApp/src/app/shared/interfaces.ts@ 8eb1e21

Last change on this file since 8eb1e21 was 28d7d35, checked in by Mile Jankuloski <mile.jankuloski@…>, 3 years ago

Maps, geolocation api, dialogs & more

  • Property mode set to 100644
File size: 1.3 KB
Line 
1export interface IHealthcareWorkers {
2 id?: string;
3 name: string;
4 branch: Date;
5 facility: IHealthFacilities;
6 title: string;
7}
8
9export interface IHealthFacilities {
10 id?: string;
11 address: string;
12 email?: string;
13 municipality: string;
14 name: string;
15 phone?: string;
16 type?: string;
17}
18
19export interface IMedicine {
20 id?: string;
21 name: string;
22 strength: string;
23 form: string;
24 wayOfIssuing: string;
25 manufacturer: string;
26 price: number;
27 packaging: string;
28 headNames?: string[];
29}
30
31export interface IPandemic {
32 id?: string;
33 name?: string;
34 totalMK?: number;
35 activeMK?: number;
36 deathsMK?: number;
37 newMK?: number;
38 totalGlobal?: number;
39 deathsGlobal?: number;
40 activeGlobal?: number;
41}
42
43export interface IPharmacy {
44 id?: string;
45 name: string;
46 location: string;
47 address: string;
48 workAllTime?: boolean;
49 headName?: string;
50}
51
52export interface IPharmacyHead {
53 id?: string;
54 PharmacyMedicines?: IMedicine[];
55 Pharmacy?: IPharmacy[];
56 Email: string;
57 Name: string;
58 Passwd: string;
59 originalUserName?: string;
60 Role?: string;
61}
62export interface IPharmacyHeadRequest {
63 id?: string;
64 PharmacyHead?: IPharmacyHead;
65 Pharmacy?: IPharmacy;
66}
Note: See TracBrowser for help on using the repository browser.