2023-04-06 18:03:48 +04:00
|
|
|
|
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;
|
2023-05-19 17:52:18 +04:00
|
|
|
|
|
|
|
|
|
public string Fio => SecondName + " " + Name + " " + LastName;
|
2023-04-06 18:03:48 +04:00
|
|
|
|
}
|