PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicContracts/ViewModels/UserViewModel.cs
2024-04-30 23:14:53 +04:00

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; }
}
}