Changeset 5d02859 for FarmatikoData/Models/PharmacyHead.cs
- Timestamp:
- 09/30/20 10:37:22 (4 years ago)
- Branches:
- master
- Children:
- 1454207
- Parents:
- 63d885e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Models/PharmacyHead.cs
r63d885e r5d02859 1 1 using System; 2 2 using System.Collections.Generic; 3 using System.ComponentModel.DataAnnotations; 3 4 using System.Text; 4 5 using FarmatikoData.Base; … … 9 10 public class PharmacyHead : BaseEntity 10 11 { 11 public MedicineList PharmacyMedicines { get; set; } 12 public Pharmacy Pharmacy { get; set; } 12 public PharmacyHead() 13 { 14 } 15 [Required] 13 16 public string Email { get; set; } 17 [Required] 14 18 public string Name { get; set; } 19 [Required] 15 20 public string Password { get; set; } 16 21 public ICollection<MedicineList> MedicineLists { get; set; } 17 22 public ICollection<Pharmacy> PharmaciesList { get; set; } 18 public PharmacyHead() 19 { 20 PharmaciesList = new HashSet<Pharmacy>(); 21 MedicineLists = new HashSet<MedicineList>(); 22 } 23 23 24 } 24 25 }
Note:
See TracChangeset
for help on using the changeset viewer.