28 lines
756 B
C#
28 lines
756 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 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();
|
|
}
|
|
}
|