24 lines
738 B
C#
24 lines
738 B
C#
using PolyclinicDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PolyclinicContracts.ViewModels
|
|
{
|
|
public class MedicamentView : IMedicamentModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Название медикамента")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Комментарий")]
|
|
public string Comment { get; set; } = string.Empty;
|
|
public Dictionary<int, ISymptomModel> MedicamentSymptom { get; set; } = new();
|
|
public Dictionary<int, IProcedureModel> MedicamentProcedure { get; set; } = new();
|
|
}
|
|
}
|