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

28 lines
756 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 VisitViewModel : IVisitModel
{
public int Id { get; set; }
[DisplayName("Дата визита")]
public DateTime Date { get; set; }
public int UserId { get; set; }
[DisplayName("ФИО пользователя")]
public string UserFullName { get; set; } = string.Empty;
public Dictionary<int, IAnimalModel> VisitAnimals { get; set; } = new();
public Dictionary<int, IServiceModel> VisitServices { get; set; } = new();
}
}