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

24 lines
703 B
C#
Raw Permalink Normal View History

using PolyclinicDataModels.Models;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
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; }
}
}