source: FarmatikoData/Models/MedicineList.cs@ c406ae5

Last change on this file since c406ae5 was c406ae5, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Update Models, Repos, Services and Controllers

  • Property mode set to 100644
File size: 709 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 MedicineList()
11 {
12 }
13 public Medicine Medicine { get; set; }
14 public bool HasMedicine { get; set; }
15 public MedicineList(Medicine Medicine, bool HasMedicine)
16 {
17 this.Medicine = Medicine;
18 this.HasMedicine = HasMedicine;
19 }
20 /*public ICollection<MedicineList> MedicinesList { get; set; }
21 public MedicineList()
22 {
23 MedicinesList = new HashSet<MedicineList>();
24 }*/
25 }
26}
Note: See TracBrowser for help on using the repository browser.