42 lines
939 B
C#
42 lines
939 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
public class PasswordHistory : BasicBaseObject
|
|||
|
{
|
|||
|
public PasswordHistory()
|
|||
|
{
|
|||
|
UserID = 0;
|
|||
|
UserPassword = string.Empty;
|
|||
|
}
|
|||
|
|
|||
|
#region Public Properties
|
|||
|
|
|||
|
public int UserID { get; set; }
|
|||
|
public string UserPassword { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
//#region Service Factory IUserService : IUserService
|
|||
|
|
|||
|
//internal static IPasswordHistoryService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IPasswordHistoryService>(typeof(IPasswordHistoryService)); }
|
|||
|
//}
|
|||
|
|
|||
|
//#endregion
|
|||
|
}
|
|||
|
|
|||
|
#region IUser Service
|
|||
|
|
|||
|
public interface IPasswordHistoryService
|
|||
|
{
|
|||
|
List<PasswordHistory> Get();
|
|||
|
List<PasswordHistory> Get(int UserID);
|
|||
|
int Save(PasswordHistory item);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|