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

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

Maps, geolocation api, dialogs & more

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[ee137aa]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;
[28d7d35]28 headNames?: string[];
[ee137aa]29}
30
31export interface IPandemic {
[993189e]32 id?: string;
[ee137aa]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;
[28d7d35]49 headName?: string;
[ee137aa]50}
51
52export interface IPharmacyHead {
53 id?: string;
54 PharmacyMedicines?: IMedicine[];
55 Pharmacy?: IPharmacy[];
56 Email: string;
57 Name: string;
[ad60966]58 Passwd: string;
[d23bf72]59 originalUserName?: string;
[1f4846d]60 Role?: string;
[1db5673]61}
[ee137aa]62export interface IPharmacyHeadRequest {
63 id?: string;
64 PharmacyHead?: IPharmacyHead;
65 Pharmacy?: IPharmacy;
66}
Note: See TracBrowser for help on using the repository browser.