PIbd-22_CourseWork_Hospital.../Polyclinic/HospitalContracts/ViewModels/DrugViewModel.cs

17 lines
516 B
C#

using HospitalDataModels.Models;
using System.ComponentModel;
namespace HospitalContracts.ViewModels
{
public class DrugViewModel : IDrugModel
{
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;
}
}