DepartmentProject/DepartmentPortal/Common/CoreModels/ModelsSecurity/IUserModel.cs

27 lines
611 B
C#
Raw Normal View History

using CoreModels.Tools;
using ModuleTools.Attributes;
using System;
namespace CoreModels.ModelsSecurity
{
/// <summary>
/// Модель, описывающиая пользователя системы
/// </summary>
[EntityDescription("User", "Пользователи системы")]
public interface IUserModel : IId
{
string UserName { get; }
string PasswordHash { get; }
byte[] Avatar { get; }
DateTime? DateLastVisit { get; }
bool IsBanned { get; }
DateTime? DateBanned { get; }
int CountAttempt { get; }
}
}