PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/ViewModels/UserViewModel.cs

28 lines
638 B
C#
Raw Normal View History

using ComputerShopDataModels.Enums;
using ComputerShopDataModels.Models;
2024-04-23 22:25:40 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.ViewModels
{
2024-04-23 22:25:40 +04:00
public class UserViewModel : IUserModel
{
public int Id { get; set; }
[DisplayName("Логин")]
public string Login { get; set; } = string.Empty;
[DisplayName("Пароль")]
public string Password { get; set; } = string.Empty;
[DisplayName("Почта")]
public string Email { get; set; } = string.Empty;
public UserRole Role { get; set; }
}
}