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
RevLine 
[30a465f]1using System.Collections.Generic;
[a8ccc2c]2using FarmatikoData.Base;
[30a465f]3using FarmatikoData.Models;
4using Microsoft.EntityFrameworkCore;
5
6namespace FarmatikoData.Models
7{
[a8ccc2c]8 public class MedicineList : BaseEntity
[30a465f]9 {
[c406ae5]10 public MedicineList()
11 {
12 }
[37c8d1d]13 public Medicine Medicine { get; set; }
[30a465f]14 public bool HasMedicine { get; set; }
[c406ae5]15 public MedicineList(Medicine Medicine, bool HasMedicine)
16 {
17 this.Medicine = Medicine;
18 this.HasMedicine = HasMedicine;
19 }
[37c8d1d]20 /*public ICollection<MedicineList> MedicinesList { get; set; }
[30a465f]21 public MedicineList()
22 {
[37c8d1d]23 MedicinesList = new HashSet<MedicineList>();
24 }*/
[30a465f]25 }
26}
Note: See TracBrowser for help on using the repository browser.