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

Last change on this file since afc9a9a was d23bf72, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Add SystemService, Auth, fix a lil bugs :)

  • 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 Passwd: string;
56 Name: string;
57 originalUserName?: string;
58 Role?: string;
59}
60
61export interface IPharmacyHeadRequest {
62 id?: string;
63 PharmacyHead?: IPharmacyHead;
64 Pharmacy?: IPharmacy;
65}
Note: See TracBrowser for help on using the repository browser.