2024-04-25 17:00:45 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2024-04-29 15:37:19 +04:00
|
|
|
|
using UniversityDataModels.Enums;
|
2024-04-25 17:00:45 +04:00
|
|
|
|
using UniversityDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace UniversityContracts.BindingModels
|
|
|
|
|
{
|
2024-04-29 15:37:19 +04:00
|
|
|
|
public class UserBindingModel : IUserModel
|
2024-04-25 17:00:45 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-29 15:37:19 +04:00
|
|
|
|
public string Login { get; set; } = string.Empty;
|
|
|
|
|
public string Password { get; set; } = string.Empty;
|
2024-04-25 17:00:45 +04:00
|
|
|
|
public string Email { get; set; } = string.Empty;
|
2024-04-29 15:37:19 +04:00
|
|
|
|
public UserRole Role { get; set; } = UserRole.Неизвестная;
|
2024-04-25 17:00:45 +04:00
|
|
|
|
}
|
|
|
|
|
}
|