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

23 lines
657 B
C#

using PolyclinicDataModels.Models;
using System.ComponentModel;
namespace PolyclinicContracts.ViewModels
{
public class DiagnoseViewModel : IDiagnoseModel
{
[DisplayName("Название")]
public string Name { get; set; } = string.Empty;
[DisplayName("Комментарий")]
public string Comment { get; set; } = string.Empty;
[DisplayName("Дата 'от'")]
public DateTime DateStartDiagnose { get; set; }
[DisplayName("Дата 'до'")]
public DateTime? DateStopDiagnose { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}