2024-04-24 18:34:15 +04:00
|
|
|
|
using PolyclinicDataModels.Models;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace PolyclinicContracts.ViewModels
|
|
|
|
|
{
|
2024-04-28 11:31:34 +04:00
|
|
|
|
public class ProcedureViewModel : IProcedureModel
|
2024-04-24 18:34:15 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-28 18:13:52 +04:00
|
|
|
|
public int UserId { get; set; }
|
2024-05-01 00:48:45 +04:00
|
|
|
|
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Название процедуры")]
|
2024-04-28 12:12:39 +04:00
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2024-05-01 00:48:45 +04:00
|
|
|
|
|
2024-04-24 18:34:15 +04:00
|
|
|
|
[DisplayName("Комментарий")]
|
2024-04-28 12:12:39 +04:00
|
|
|
|
public string Comment { get; set; } = string.Empty;
|
2024-05-01 00:48:45 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Дата 'от'")]
|
2024-05-01 10:33:00 +04:00
|
|
|
|
public DateTime DateStartProcedure { get; set; } = DateTime.Now;
|
2024-05-01 00:48:45 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Дата 'до'")]
|
2024-05-01 10:33:00 +04:00
|
|
|
|
public DateTime? DateStopProcedure { get; set; } = DateTime.Now;
|
2024-04-24 18:34:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|