2024-04-18 00:10:00 +04:00
|
|
|
|
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;
|
2024-04-27 13:23:51 +04:00
|
|
|
|
public int RecipeId { get; set; }
|
2024-04-28 12:12:39 +04:00
|
|
|
|
public Dictionary<int, IDiagnoseModel> CourseDiagnoses { get; set; } = new();
|
2024-04-18 00:10:00 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|