using CoviDok.Api; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CoviDok.Data.Model { public class Case { public int Id { get; set; } public int DoctorId { get; set; } public int ParentId { get; set; } public int ChildId { get; set; } public CaseStatus CaseStatus { get; set; } public Priority Priority { get; set; } public ICollection Updates { get; set; } public int Assignee { get; set; } public string Title { get; set; } public DateTime StartDate { get; set; } //amikor a tünetek kezdődtek public DateTime CreatedDate { get; set; } //amikor a taskot létrehozták public DateTime LastModificationDate { get; set; } public Case() { Updates= new List(); } } public enum CaseStatus { InProgress, Cured, Certified } }