EchoTex_Payroll/HRM.BO/PMP/ReplaceEmployeesObjectives.cs
2024-10-14 10:01:49 +06:00

178 lines
3.8 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class ReplaceEmployeesObjectives : BasicBaseObject
{
#region Constructor
public ReplaceEmployeesObjectives()
{
}
#endregion
#region Properties
#region RequestedEmployeeID : ID
private int _RequestedEmployeeID;
public int RequestedEmployeeID
{
get { return _RequestedEmployeeID; }
set { _RequestedEmployeeID = value; }
}
#endregion
#region PMPYearID : ID
private int _pMPYearID;
public int PMPYearID
{
get { return _pMPYearID; }
set { _pMPYearID = value; }
}
#endregion
#region AssignedForEmployeeID : ID
private int _AssignedForEmployeeID;
public int AssignedForEmployeeID
{
get { return _AssignedForEmployeeID; }
set { _AssignedForEmployeeID = value; }
}
#endregion
#region AssignedToEmployeeID : ID
private int _AssignedToEmployeeID;
public int AssignedToEmployeeID
{
get { return _AssignedToEmployeeID; }
set { _AssignedToEmployeeID = value; }
}
#endregion
#region IsApproved : bool
private bool _IsApproved;
public bool IsApproved
{
get { return _IsApproved; }
set { _IsApproved = value; }
}
#endregion
#region ApprovalDate : ID
private DateTime? _ApprovalDate;
public DateTime? ApprovalDate
{
get { return _ApprovalDate; }
set { _ApprovalDate = value; }
}
#endregion
#region ApprovedBy : ID
private int _ApprovedBy;
public int ApprovedBy
{
get { return _ApprovedBy; }
set { _ApprovedBy = value; }
}
#endregion
#endregion
//#region Function
//#region Get All
//public static List<ReplaceEmployeesObjectives> Get()
//{
// return ReplaceEmployeesObjectives.Service.Get();
//}
//public static List<ReplaceEmployeesObjectives> Get(int nPMPYearID)
//{
// return ReplaceEmployeesObjectives.Service.Get(nPMPYearID);
//}
//public static List<ReplaceEmployeesObjectives> Get(int nPMPYearID,int nEmpID)
//{
// return ReplaceEmployeesObjectives.Service.Get(nPMPYearID, nEmpID);
//}
//#endregion
//#endregion
//#region Save
//public int Save()
//{
// return ReplaceEmployeesObjectives.Service.Save(this);
//}
//#endregion
//#region Delete
//public void Delete()
//{
// ReplaceEmployeesObjectives.Service.Delete(this.ID);
//}
//#endregion
//#region Service Factory IReplaceEmployeesObjectives : IReplaceEmployeesObjectives
//internal static IReplaceEmployeesObjectivesService Service
//{
// get { return Services.Factory.CreateService<IReplaceEmployeesObjectivesService>(typeof(IReplaceEmployeesObjectivesService)); }
//}
//#endregion
}
#region IReplaceEmployeesObjectivesService Service
public interface IReplaceEmployeesObjectivesService
{
List<ReplaceEmployeesObjectives> Get();
List<ReplaceEmployeesObjectives> Get(int nPMPYearID);
List<ReplaceEmployeesObjectives> Get(int nPMPYearID, int nEmpID);
int Save(ReplaceEmployeesObjectives item);
void Delete(int id);
}
#endregion
}