55 lines
1.2 KiB
C#
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
|
|
} |