Changeset 1db5673 for FarmatikoData/Models/PharmacyHead.cs
- Timestamp:
- 11/14/20 12:27:30 (4 years ago)
- Branches:
- master
- Children:
- 68454c6
- Parents:
- ad60966
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Models/PharmacyHead.cs
rad60966 r1db5673 1 1 using System.Collections.Generic; 2 2 using System.ComponentModel.DataAnnotations; 3 using System.Text.Json.Serialization; 3 4 using FarmatikoData.Base; 5 using Newtonsoft.Json; 4 6 5 7 namespace FarmatikoData.Models … … 11 13 } 12 14 [Required] 15 [JsonProperty("Email")] 13 16 public string Email { get; set; } 14 17 [Required] 18 [JsonProperty("Name")] 15 19 public string Name { get; set; } 16 20 [Required] 21 [JsonProperty("Passwd")] 17 22 public string Password { get; set; } 18 public List<MedicineList> MedicineLists { get; set; } 19 public List<Pharmacy> PharmaciesList { get; set; } 23 [JsonProperty("PharmacyMedicines")] 24 public List<Medicine> MedicineList { get; set; } 25 [Required] 26 [JsonProperty("Pharmacy")] 27 public ICollection<Pharmacy> PharmaciesList { get; set; } 28 //[JsonProperty("PHMedicineList")] 29 public ICollection<PharmacyHeadMedicine> PHMedicineList { get; set; } 20 30 21 31 }
Note:
See TracChangeset
for help on using the changeset viewer.