19 lines
696 B
C#
19 lines
696 B
C#
|
using PolyclinicDataModels.Models;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
namespace PolyclinicContracts.ViewModels
|
|||
|
{
|
|||
|
public class CourseViewModel : ICourseModel
|
|||
|
{
|
|||
|
[DisplayName("Количество дней курса")]
|
|||
|
public int DaysCount { get; set; }
|
|||
|
[DisplayName("Препарата в день")]
|
|||
|
public int PillsPerDay { get; set; }
|
|||
|
[DisplayName("Комментарий")]
|
|||
|
public string Comment { get; set; } = string.Empty;
|
|||
|
public Dictionary<int, IDiagnosisModel> CourseDiagnosis { get; set; } = new();
|
|||
|
public Dictionary<int, IRecipeModel> CourseRecipes { get; set; } = new();
|
|||
|
public int Id { get; set; }
|
|||
|
}
|
|||
|
}
|