2024-04-10 13:25:57 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2024-05-03 21:12:43 +04:00
|
|
|
|
using System.ComponentModel;
|
2024-04-10 13:25:57 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-05-03 21:00:31 +04:00
|
|
|
|
namespace HotelContracts.ViewModels
|
2024-04-10 13:25:57 +04:00
|
|
|
|
{
|
2024-05-03 21:00:31 +04:00
|
|
|
|
public class ClientViewModel
|
2024-04-10 13:25:57 +04:00
|
|
|
|
{
|
2024-05-03 21:12:43 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
[DisplayName("Имя")]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Фамилия")]
|
|
|
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Дата рождения")]
|
|
|
|
|
public DateTime DateOfBirth { get; set; } = DateTime.Now;
|
|
|
|
|
[DisplayName("Номер телефона")]
|
|
|
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Пароль")]
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
|
}
|
2024-04-10 13:25:57 +04:00
|
|
|
|
}
|