26 lines
641 B
C#
26 lines
641 B
C#
using HospitalDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HospitalContracts.ViewModels
|
|
{
|
|
public class PatientViewModel : IPatientModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
public string? Patronymic { get; set; } = string.Empty;
|
|
|
|
public DateTime BirthDate { get; set; }
|
|
|
|
public int? TreatmentId { get; set; }
|
|
public string? TreatmentName { get; set; } = string.Empty;
|
|
}
|
|
}
|