27 lines
723 B
C#
27 lines
723 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using VeterinaryClinicDataModels.Models;
|
|||
|
|
|||
|
namespace VeterinaryClinicContracts.ViewModels
|
|||
|
{
|
|||
|
public class ServiceViewModel : IServiceModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
[DisplayName("Название услуги")]
|
|||
|
public string Name { get; set; } = string.Empty;
|
|||
|
|
|||
|
[DisplayName("Стоимость")]
|
|||
|
public int Cost { get; set; }
|
|||
|
|
|||
|
public int MedicationId { get; set; }
|
|||
|
|
|||
|
[DisplayName("Наименования медикамента")]
|
|||
|
public string MedicationName { get; set; } = string.Empty;
|
|||
|
}
|
|||
|
}
|