PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicContracts/BindingModels/AnimalBindingModel.cs
2024-04-30 23:14:53 +04:00

25 lines
601 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VeterinaryClinicDataModels.Models;
namespace VeterinaryClinicContracts.BindingModels
{
public class AnimalBindingModel : IAnimalModel
{
public int Id { get; set; }
public string Type { get; set; } = string.Empty;
public string Breed { get; set; } = string.Empty;
public int Age { get; set; }
public int UserId { get; set; }
public Dictionary<int, IMedicationModel> AnimalMedications { get; set; } = new();
}
}