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

23 lines
689 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; } = DateTime.Now;
[DisplayName("Дата 'до'")]
public DateTime? DateStopDiagnose { get; set; } = DateTime.Now;
public int UserId { get; set; }
public int Id { get; set; }
}
}