source: Farmatiko/ClientApp/src/app/shared/interfaces.ts@ 7520f88

Last change on this file since 7520f88 was 1db5673, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Fix bugs, add some more

  • Property mode set to 100644
File size: 1.2 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}
29
30export interface IPandemic {
31 id?: string;
32 name?: string;
33 totalMK?: number;
34 activeMK?: number;
35 deathsMK?: number;
36 newMK?: number;
37 totalGlobal?: number;
38 deathsGlobal?: number;
39 activeGlobal?: number;
40}
41
42export interface IPharmacy {
43 id?: string;
44 name: string;
45 location: string;
46 address: string;
47 workAllTime?: boolean;
48}
49
50export interface IPharmacyHead {
51 id?: string;
52 PharmacyMedicines?: IMedicine[];
53 Pharmacy?: IPharmacy[];
54 Email: string;
55 Name: string;
56 Passwd: string;
57 originalUserName?: string;
58 Role?: string;
59}
60export interface IPharmacyHeadRequest {
61 id?: string;
62 PharmacyHead?: IPharmacyHead;
63 Pharmacy?: IPharmacy;
64}
Note: See TracBrowser for help on using the repository browser.