27 lines
793 B
C#
27 lines
793 B
C#
using PolyclinicDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace PolyclinicContracts.ViewModels
|
|
{
|
|
public class MedicamentViewModel : IMedicamentModel
|
|
{
|
|
public int Id { get; set; }
|
|
public int ProcedureId { get; set; }
|
|
public int? SymptomId { get; set; }
|
|
|
|
[DisplayName("Название медикамента")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
[DisplayName("Комментарий")]
|
|
public string? Comment { get; set; } = string.Empty;
|
|
|
|
|
|
[DisplayName("Название симптома")]
|
|
public string SymptomName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Название процедуры")]
|
|
public string ProcedureName { get; set; } = string.Empty;
|
|
}
|
|
}
|