23 lines
731 B
C#
23 lines
731 B
C#
using HospitalDataModels.Models;
|
|
using System.ComponentModel;
|
|
|
|
namespace HospitalContracts.ViewModels
|
|
{
|
|
public class PrescriptionViewModel : IPrescriptionModel
|
|
{
|
|
public int Id { get; set; }
|
|
[DisplayName("Дата поставки")]
|
|
public DateTime Date { get; set; } = DateTime.Now;
|
|
public int MedicineId { get; set; }
|
|
[DisplayName("Лекарство")]
|
|
public string MedicineName { get; set; } = string.Empty;
|
|
[DisplayName("Количество")]
|
|
public int Number { get; set; }
|
|
public int ApothecaryId { get; set; }
|
|
[DisplayName("Автор записи")]
|
|
public string ApothecaryLogin { get; set; } = string.Empty;
|
|
|
|
|
|
}
|
|
}
|