Last change
on this file since 333cdac was 171f106, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Add BaseEntity class and it's inheritance
|
-
Property mode
set to
100644
|
File size:
481 bytes
|
Line | |
---|
1 | using System.Collections.Generic;
|
---|
2 | using FarmatikoData.Base;
|
---|
3 | using FarmatikoData.Models;
|
---|
4 | using Microsoft.EntityFrameworkCore;
|
---|
5 |
|
---|
6 | namespace FarmatikoData.Models
|
---|
7 | {
|
---|
8 | public class MedicineList : BaseEntity
|
---|
9 | {
|
---|
10 | public Medicine Medicine { get; set; }
|
---|
11 | public bool HasMedicine { get; set; }
|
---|
12 | public ICollection<Medicine> MedicinesList { get; set; }
|
---|
13 | public MedicineList()
|
---|
14 | {
|
---|
15 | MedicinesList = new HashSet<Medicine>();
|
---|
16 | }
|
---|
17 |
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.