source: FarmatikoData/Models/PharmacyHead.cs@ f33b0d4

Last change on this file since f33b0d4 was 171f106, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Add BaseEntity class and it's inheritance

  • Property mode set to 100644
File size: 755 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using FarmatikoData.Base;
5using Microsoft.EntityFrameworkCore;
6
7namespace FarmatikoData.Models
8{
9 public class PharmacyHead : BaseEntity
10 {
11 public MedicineList PharmacyMedicines { get; set; }
12 public Pharmacy Pharmacy { get; set; }
13 public string Email { get; set; }
14 public string Name { get; set; }
15 public string Password { get; set; }
16 public ICollection<MedicineList> MedicineLists { get; set; }
17 public ICollection<Pharmacy> PharmaciesList { get; set; }
18 public PharmacyHead()
19 {
20 PharmaciesList = new HashSet<Pharmacy>();
21 MedicineLists = new HashSet<MedicineList>();
22 }
23 }
24}
Note: See TracBrowser for help on using the repository browser.