20 lines
627 B
C#
20 lines
627 B
C#
using PolyclinicDataModels.Enums;
|
||
using PolyclinicDataModels.Models;
|
||
using System.ComponentModel;
|
||
|
||
namespace PolyclinicContracts.ViewModels
|
||
{
|
||
public class UserViewModel : IUserModel
|
||
{
|
||
[DisplayName("ФИО")]
|
||
public string FIO { get; set; } = string.Empty;
|
||
[DisplayName("Email")]
|
||
public string Email { get; set; } = string.Empty;
|
||
[DisplayName("Пароль")]
|
||
public string Password { get; set; } = string.Empty;
|
||
[DisplayName("Роль")]
|
||
public UserRole Role { get; set; } = UserRole.Неизвестный;
|
||
public int Id { get; set; }
|
||
}
|
||
}
|