PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicContracts/ViewModels/ServiceViewModel.cs

27 lines
723 B
C#
Raw Normal View History

2024-04-30 23:14:53 +04:00
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;
}
}