CourseWork_Bank/Bank/BankContracts/ViewModels/ClientViewModel.cs

24 lines
805 B
C#
Raw Permalink Normal View History

2024-04-28 21:34:43 +04:00
using BankDataModels;
using BankDataModels.HelperInterfaces;
using System.ComponentModel;
namespace BankContracts.ViewModels
{
2024-04-28 21:34:43 +04:00
public class ClientViewModel : IClientModel
{
2024-04-28 21:34:43 +04:00
public int Id { get; set; }
[DisplayName("Фамилия")]
public string LastName { get; set; } = string.Empty;
[DisplayName("Имя")]
public string FirstName { get; set; } = string.Empty;
[DisplayName("Отчество")]
public string? MiddleName { get; set; } = string.Empty;
[DisplayName("Номер телефона")]
public string PhoneNumber { get; set; } = string.Empty;
[DisplayName("Пароль")]
public string Password { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
}
}