Last change
on this file since 171f106 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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using FarmatikoData.Base;
|
---|
5 | using Microsoft.EntityFrameworkCore;
|
---|
6 |
|
---|
7 | namespace 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.