2024-04-27 13:01:57 +04:00
|
|
|
|
using ElectronicsShopDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class ClientViewModel : IClientModel
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//ID пользователя
|
|
|
|
|
public int UserID { get; set; }
|
2024-04-28 20:14:44 +04:00
|
|
|
|
//ID роли (клиент)
|
|
|
|
|
public int RoleID { get; set; }
|
|
|
|
|
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Имя")]
|
|
|
|
|
public string FirstName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Фамилия")]
|
|
|
|
|
public string LastName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Логин")]
|
|
|
|
|
public string Login { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Почта")]
|
|
|
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Пароль")]
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Номер телефона")]
|
|
|
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|