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(typeof(IBadLoginAttemptInfoService)); } //} //#endregion #endregion } #endregion #region IBadLoginAttemptInfo Service public interface IBadLoginAttemptInfoService { BadLoginAttemptInfo Get(int id); List Get(); int Save(BadLoginAttemptInfo item); List Get(DateTime dtFrom, DateTime dtTo); void Delete(int id); } #endregion }