PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/ViewModels/GuestViewModel.cs
2023-05-19 17:52:18 +04:00

13 lines
390 B
C#

using HotelDataModels.Models;
namespace HotelContracts.ViewModels;
public class GuestViewModel : IGuestModel
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string SecondName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public string Fio => SecondName + " " + Name + " " + LastName;
}