source: FarmatikoData/Models/MedicineList.cs@ 171f106

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: 481 bytes
RevLine 
[30a465f]1using System.Collections.Generic;
[171f106]2using FarmatikoData.Base;
[30a465f]3using FarmatikoData.Models;
4using Microsoft.EntityFrameworkCore;
5
6namespace 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.