15 lines
499 B
C#
15 lines
499 B
C#
using HotelDataModels.Models;
|
|
|
|
namespace HotelContracts.ViewModels;
|
|
|
|
public class MaitreViewModel : IMaitreModel
|
|
{
|
|
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 Login { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
public string Fio => SecondName + " " + Name + " " + LastName;
|
|
} |