source: FarmatikoData/Models/PharmacyHead.cs@ c406ae5

Last change on this file since c406ae5 was a8ccc2c, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Add migration, BaseEntity class and FarmatikoServices

  • 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.