source:
FarmatikoData/Models/MedicineList.cs@
c406ae5
Last change on this file since c406ae5 was c406ae5, checked in by , 4 years ago | |
---|---|
|
|
File size: 709 bytes |
Rev | Line | |
---|---|---|
[30a465f] | 1 | using System.Collections.Generic; |
[a8ccc2c] | 2 | using FarmatikoData.Base; |
[30a465f] | 3 | using FarmatikoData.Models; |
4 | using Microsoft.EntityFrameworkCore; | |
5 | ||
6 | namespace 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.