source: FarmatikoData/Models/MedicineList.cs@ a8ccc2c

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

Add migration, BaseEntity class and FarmatikoServices

  • Property mode set to 100644
File size: 482 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 {
10 public Medicine Medicines { 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.