Commit 670ca59a authored by hasan khaddour's avatar hasan khaddour

update some entities

parent 6e19574b
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
......@@ -8,6 +10,7 @@ namespace ApplicationCore.Entities
{
public class EntityBase
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
}
......
......@@ -16,6 +16,10 @@ namespace ApplicationCore.Entities
public MedicineType MedicineType { get; set; }
public ICollection<Ingredient> Ingredients { get; set; }
public ICollection<MedicineIngredient> MedicineIngredients { get; set; }
public ICollection<Patient> Patients { get; set; }
public ICollection<PatientMedicine> PatientMedicines { get; set; }
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment