source: FarmatikoData/Models/MedicineList.cs@ f33b0d4

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
Line 
1using System.Collections.Generic;
2using FarmatikoData.Base;
3using FarmatikoData.Models;
4using Microsoft.EntityFrameworkCore;
5
6namespace 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.