EchoTex_Payroll/HRM.BO/Employee/EmployeeRetirement.cs

35 lines
828 B
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00

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
}