35 lines
1008 B
C#
35 lines
1008 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 VaccinationViewModel : IVaccinationModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("Название вакцины")]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Дата укола")]
|
|
public DateTime DateInjection { get; set; }
|
|
|
|
[DisplayName("Срок действия")]
|
|
public string ValidityPeriod { get; set; } = string.Empty;
|
|
|
|
public int UserId { get; set; }
|
|
|
|
[DisplayName("ФИО пользователя")]
|
|
public string UserFullName { get; set; } = string.Empty;
|
|
|
|
public int AnimalId { get; set; }
|
|
|
|
[DisplayName("Порода животного")]
|
|
public string AnimalBreed { get; set; } = string.Empty;
|
|
}
|
|
}
|