source: FarmatikoData/DTOs/PharmacyHeadDto.cs@ dae4cde

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

Fix bugs

  • Property mode set to 100644
File size: 928 bytes
Line 
1using FarmatikoData.Models;
2using Newtonsoft.Json;
3using System;
4using System.Collections.Generic;
5using System.Text;
6
7namespace FarmatikoData.DTOs
8{
9 public class PharmacyHeadDto
10 {
11 /*
12 id?: string;
13 PharmacyMedicines?: IMedicine[];
14 Pharmacy?: IPharmacy[];
15 Email: string;
16 Name: string;
17 Passwd: string;
18 originalUserName?: string;
19 Role?: string;
20 */
21 [JsonProperty("id")]
22 public int Id { get; set; }
23 [JsonProperty("PharmacyMedicines")]
24 public List<Medicine> Medicines { get; set; }
25 [JsonProperty("Pharmacy")]
26 public List<Pharmacy> Pharmacies { get; set; }
27 [JsonProperty("Email")]
28 public string Email { get; set; }
29 [JsonProperty("Name")]
30 public string Name { get; set; }
31 [JsonProperty("Passwd")]
32 public string Password { get; set; }
33 }
34}
Note: See TracBrowser for help on using the repository browser.