32 lines
839 B
C#
32 lines
839 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using VeterinaryClinicDataModels.Enums;
|
|
using VeterinaryClinicDataModels.Models;
|
|
|
|
namespace VeterinaryClinicContracts.ViewModels
|
|
{
|
|
public class UserViewModel : IUserModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
[DisplayName("ФИО")]
|
|
public string FullName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Телефон")]
|
|
public string Phone { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Почта")]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Пароль")]
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Роль")]
|
|
public UserRole Role { get; set; }
|
|
}
|
|
}
|