HRM-10/HRM.BO/Basic/BadLoginAttemptInfo.cs

55 lines
1.2 KiB
C#
Raw Normal View History

2026-11-03 13:06:00 +06:00
using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region BadLoginAttemptInfo
public class BadLoginAttemptInfo : BasicBaseObject
{
#region Constructor
public BadLoginAttemptInfo()
{
UserID = 0;
AttemptTime = DateTime.Now;
PCNumber = string.Empty;
}
#endregion
#region Properties
public int UserID { get; set; }
public DateTime AttemptTime { get; set; }
public string PCNumber { get; set; }
//#region Service Factory IBadLoginAttemptInfoService : IBadLoginAttemptInfoService
//internal static IBadLoginAttemptInfoService Service
//{
// get { return Services.Factory.CreateService<IBadLoginAttemptInfoService>(typeof(IBadLoginAttemptInfoService)); }
//}
//#endregion
#endregion
}
#endregion
#region IBadLoginAttemptInfo Service
public interface IBadLoginAttemptInfoService
{
BadLoginAttemptInfo Get(int id);
List<BadLoginAttemptInfo> Get();
int Save(BadLoginAttemptInfo item);
List<BadLoginAttemptInfo> Get(DateTime dtFrom, DateTime dtTo);
void Delete(int id);
}
#endregion
}