Last change
on this file since afefe75 was afefe75, checked in by Dimitar Slezenkovski <dslezenkovski@…>, 4 years ago |
Update searches, fix bugs
|
-
Property mode
set to
100644
|
File size:
860 bytes
|
Rev | Line | |
---|
[afefe75] | 1 | using Newtonsoft.Json;
|
---|
| 2 | using System;
|
---|
| 3 | using System.Collections.Generic;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using System.Text.Json.Serialization;
|
---|
| 6 |
|
---|
| 7 | namespace 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.