source: FarmatikoData/Models/PharmacyHead.cs@ a55ef91

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

Add migration, BaseEntity class and FarmatikoServices

  • Property mode set to 100644
File size: 755 bytes
RevLine 
[30a465f]1using System;
2using System.Collections.Generic;
3using System.Text;
[a8ccc2c]4using FarmatikoData.Base;
[30a465f]5using Microsoft.EntityFrameworkCore;
6
7namespace FarmatikoData.Models
8{
[a8ccc2c]9 public class PharmacyHead : BaseEntity
[30a465f]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.