PIbd-22_Filippov_D.S._Cours.../VeterinaryContracts/BindingModels/MedicationBindingModel.cs

23 lines
515 B
C#
Raw Normal View History

2024-05-30 07:33:38 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VeterinaryDataModels.Models;
namespace VeterinaryContracts.BindingModels
{
public class MedicationBindingModel : IMedicationModel
{
public int Id { get; set; }
public string MedicationName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, IPetModel> MedicationPets
{
get;
set;
} = new();
public int DoctorId { get; set; }
}
}