24 lines
703 B
C#
24 lines
703 B
C#
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; }
|
|
}
|
|
}
|