13 lines
390 B
C#
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;
|
|
} |