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

Last change on this file since 6f203af was ee137aa, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago

Added DataService and dialogs, all bindings needed implemented

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