PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicContracts/ViewModels/CourseViewModel.cs

19 lines
696 B
C#
Raw Normal View History

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; }
}
}