source: FarmatikoData/DTOs/MedicineDTO.cs@ dae4cde

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

Update searches, fix bugs

  • Property mode set to 100644
File size: 860 bytes
Line 
1using Newtonsoft.Json;
2using System;
3using System.Collections.Generic;
4using System.Text;
5using System.Text.Json.Serialization;
6
7namespace FarmatikoData.DTOs
8{
9 public class MedicineDTO
10 {
11 [JsonProperty("name")]
12 public string Name { get; set; }
13 [JsonProperty("strength")]
14 public string Strength { get; set; }
15 [JsonProperty("form")]
16 public string Form { get; set; }
17 [JsonProperty("wayofissuing")]
18 public string WayOfIssuing { get; set; }
19 [JsonProperty("manufacturer")]
20 public string Manufacturer { get; set; }
21 [JsonProperty("price")]
22 public float Price { get; set; }
23 [JsonProperty("packaging")]
24 public string Packaging { get; set; }
25 [JsonPropertyName("headNames")]
26 public ICollection<string> HeadNames { get; set; }
27 }
28}
Note: See TracBrowser for help on using the repository browser.