PIbd-22_CourseWork_Hospital.../Polyclinic/HospitalContracts/ViewModels/DiagnoseViewModel.cs

23 lines
649 B
C#

using HospitalDataModels.Models;
using System.ComponentModel;
namespace HospitalContracts.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; }
}
}