HRM-10/HRM.BO/Basic/BadLoginAttemptInfo.cs
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

55 lines
1.2 KiB
C#

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
}