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

18 lines
613 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, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
public int Id { get; set; }
}
}