Changeset db484c9 for FarmatikoData/Models
- Timestamp:
- 01/26/21 10:33:09 (4 years ago)
- Branches:
- master
- Children:
- 7d80751
- Parents:
- 8e74e2f
- Location:
- FarmatikoData/Models
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Models/Medicine.cs
r8e74e2f rdb484c9 23 23 public string Packaging { get; set; } 24 24 //[JsonPropertyName("PHMedicineList")] 25 public ICollection<PharmacyHeadMedicine> Medicine List{ get; set; }25 public ICollection<PharmacyHeadMedicine> Medicines { get; set; } 26 26 public Medicine(string Name, string Strength, string Form, string WayOfIssuing, string Manufacturer, float Price, string Packaging) 27 27 { -
FarmatikoData/Models/Pharmacy.cs
r8e74e2f rdb484c9 27 27 } 28 28 public int PheadId { get; set; } 29 public PharmacyHead P Head { get; internalset; }29 public PharmacyHead PharmacyHead { get; set; } 30 30 } 31 31 } -
FarmatikoData/Models/PharmacyHead.cs
r8e74e2f rdb484c9 21 21 [JsonProperty("Passwd")] 22 22 public string Password { get; set; } 23 [JsonProperty("PharmacyList")] 24 public virtual List<Pharmacy> Pharmacies { get; set; } 25 public virtual List<PharmacyHeadMedicine> Medicines { get; set; } 26 27 public User User { get; set; } 23 28 24 [JsonProperty("PharmacyMedicines")]25 public List<Medicine> MedicineList { get; set; }26 [JsonProperty("Pharmacy")]27 public ICollection<Pharmacy> PharmaciesList { get; set; }28 //[JsonProperty("PHMedicineList")]29 public ICollection<PharmacyHeadMedicine> PHMedicineList { get; set; }30 29 31 30 }
Note:
See TracChangeset
for help on using the changeset viewer.