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:
481 bytes
|
Rev | Line | |
---|
[30a465f] | 1 | using System.Collections.Generic;
|
---|
[171f106] | 2 | using FarmatikoData.Base;
|
---|
[30a465f] | 3 | using FarmatikoData.Models;
|
---|
| 4 | using Microsoft.EntityFrameworkCore;
|
---|
| 5 |
|
---|
| 6 | namespace FarmatikoData.Models
|
---|
| 7 | {
|
---|
[171f106] | 8 | public class MedicineList : BaseEntity
|
---|
[30a465f] | 9 | {
|
---|
[171f106] | 10 | public Medicine Medicine { get; set; }
|
---|
[30a465f] | 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.