EchoTex_Payroll/HRM.BO/PMP/ObjectiveEmployees.cs

118 lines
2.6 KiB
C#
Raw Permalink Normal View History

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

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class ObjectiveEmployees : BasicBaseObject
{
#region Constructor
public ObjectiveEmployees()
{
}
#endregion
#region Properties
public int EmployeeID { get; set; }
public int ObjectiveID { get; set; }
public int ObjectiveNodeID { get; set; }
//#region EmployeeNodeID : ID
//private int _employeeNodeID;
//public int EmployeeNodeID
//{
// get { return _employeeNodeID; }
// set { _employeeNodeID = value; }
//}
//#endregion
#endregion
//#region Function
//#region Get All
//public static List<ObjectiveEmployees> Get()
//{
// return ObjectiveEmployees.Service.Get();
//}
//public static List<ObjectiveEmployees> GetByObjIDs(string sObjIDs)
//{
// return ObjectiveEmployees.Service.GetByObjIDs(sObjIDs);
//}
//#endregion
//#region Get By ID
//public static ObjectiveEmployees Get(int id)
//{
// return ObjectiveEmployees.Service.Get(id);
//}
//public static List<ObjectiveEmployees> GetByEmployeeID(int empID, int pmpID)
//{
// return ObjectiveEmployees.Service.GetByEmployeeID(empID, pmpID);
//}
//#endregion
//#region Save
//public int Save()
//{
// this.SetAuditTrailProperties();
// return ObjectiveEmployees.Service.Save(this);
//}
//#endregion
//#region Delete
//public static void Delete(int id)
//{
// ObjectiveEmployees.Service.Delete(id);
//}
//#endregion
//#endregion
//#region Service Factory IObjectiveEmployees : IObjectiveEmployees
//internal static IObjectiveEmployeesService Service
//{
// get { return Services.Factory.CreateService<IObjectiveEmployeesService>(typeof(IObjectiveEmployeesService)); }
//}
//#endregion
}
#region IObjectiveEmployeesService Service
public interface IObjectiveEmployeesService
{
List<ObjectiveEmployees> Get();
List<ObjectiveEmployees> GetByObjIDs(string sObjIDs);
ObjectiveEmployees Get(int id);
int Save(ObjectiveEmployees item);
void Delete(int id);
List<ObjectiveEmployees> GetByEmployeeID(int empID, int pmpID);
}
#endregion
}