mirror of
https://github.com/SirLecram/HospitalServerManager
synced 2025-01-08 21:27:34 +01:00
52f1c1e71f
All database models has been added; All basic ViewModels has been added;
26 lines
707 B
C#
26 lines
707 B
C#
using HospitalServerManager.InterfacesAndEnums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HospitalServerManager.Model.Basic
|
|
{
|
|
class Diagnosis : SqlTable
|
|
{
|
|
public string Name { get; protected set; }
|
|
public SurgeryField FieldOfSurgery { get; protected set; }
|
|
public string Description { get; protected set; }
|
|
|
|
protected Diagnosis() : base() {}
|
|
public Diagnosis(List<string> listOfValues)
|
|
: base(listOfValues[0], "Symbol_ICD", new List<string>())
|
|
{
|
|
Name = listOfValues[1];
|
|
FieldOfSurgery = listOfValues[2].GetEnumFromDescription<SurgeryField>();
|
|
Description = listOfValues[3];
|
|
}
|
|
}
|
|
}
|