35 lines
828 B
C#
35 lines
828 B
C#
|
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
public class EmployeeRetirement : BasicBaseObject
|
|||
|
{
|
|||
|
|
|||
|
#region Properties
|
|||
|
public int employeeID { get; set; }
|
|||
|
public int retirementAge { get; set; }
|
|||
|
#endregion
|
|||
|
//internal static IEmployeeRetirementService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IEmployeeRetirementService>(typeof(IEmployeeRetirementService)); }
|
|||
|
//}
|
|||
|
|
|||
|
}
|
|||
|
#region IEmployeeRetirement Service
|
|||
|
|
|||
|
public interface IEmployeeRetirementService
|
|||
|
{
|
|||
|
List<EmployeeRetirement> Get();
|
|||
|
int Save(EmployeeRetirement item);
|
|||
|
void SaveAll(List<EmployeeRetirement> items);
|
|||
|
void UpdateAll(List<EmployeeRetirement> items);
|
|||
|
int GetById(int id);
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
}
|