EchoTex_Payroll/HRM.BO/PMP/AssignProxyObjectiveSetting.cs

198 lines
4.3 KiB
C#
Raw 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 AssignProxyObjectiveSetting : BasicBaseObject
{
#region Constructor
public AssignProxyObjectiveSetting()
{
}
#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 GeadeID : ID
private int _GeadeID;
public int GeadeID
{
get { return _GeadeID; }
set { _GeadeID = 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
#region AuthorizedType : ID
private EnumPMPAutorizedType _AuthorizedType = EnumPMPAutorizedType.PMP;
public EnumPMPAutorizedType AuthorizedType
{
get { return _AuthorizedType; }
set { _AuthorizedType = value; }
}
#endregion
#endregion
//#region Function
//#region Get All
//public static List<AssignProxyObjectiveSetting> Get()
//{
// return AssignProxyObjectiveSetting.Service.Get();
//}
//public static List<AssignProxyObjectiveSetting> Get(int nPMPYearID)
//{
// return AssignProxyObjectiveSetting.Service.Get(nPMPYearID);
//}
//public static List<AssignProxyObjectiveSetting> Get(int nPMPYearID,int nEmpID)
//{
// return AssignProxyObjectiveSetting.Service.Get(nPMPYearID, nEmpID);
//}
//#endregion
//#endregion
//#region Save
//public int Save()
//{
// return AssignProxyObjectiveSetting.Service.Save(this);
//}
//#endregion
//#region Delete
//public void Delete()
//{
// AssignProxyObjectiveSetting.Service.Delete(this.ID);
//}
//#endregion
//#region Service Factory IAssignProxyObjectiveSetting : IAssignProxyObjectiveSetting
//internal static IAssignProxyObjectiveSettingService Service
//{
// get { return Services.Factory.CreateService<IAssignProxyObjectiveSettingService>(typeof(IAssignProxyObjectiveSettingService)); }
//}
//#endregion
}
#region IAssignProxyObjectiveSettingService Service
public interface IAssignProxyObjectiveSettingService
{
List<AssignProxyObjectiveSetting> Get();
List<AssignProxyObjectiveSetting> Get(int nPMPYearID);
List<AssignProxyObjectiveSetting> Get(int nPMPYearID, int nEmpID);
int Save(AssignProxyObjectiveSetting item);
void Delete(int id);
}
#endregion
}