23 lines
704 B
C#
23 lines
704 B
C#
using HospitalDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace HospitalContracts.ViewModels
|
|
{
|
|
public class ProcedureViewModel : IProcedureModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int UserId { get; set; }
|
|
|
|
[DisplayName("Название процедуры")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Комментарий")]
|
|
public string Comment { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Дата от")]
|
|
public DateTime DateStartProcedure { get; set; } = DateTime.Now;
|
|
|
|
[DisplayName("Дата до")]
|
|
public DateTime? DateStopProcedure { get; set; } = DateTime.Now;
|
|
}
|
|
} |