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

90 lines
2.7 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class HeadCountApprovalRequest : AuditTrailBase
{
#region Constructor
public HeadCountApprovalRequest()
{
}
#endregion
#region Properties
public string Designation { get; set; }
public int? CategoryID { get; set; }
public string Position { get; set; }
public int RcID { get; set; }
public DateTime RequestDate { get; set; }
public EnumHeadCountRequestType RequestType { get; set; }
public string Reason { get; set; }
public int UnitID { get; set; }
public int BudgetedManPower { get; set; }
public int AdditionalManPower { get; set; }
public EnumwfStatus WfStatus { get; set; }
public bool IsMonthly { get; set; }
public int Month1 { get; set; }
public int Month2 { get; set; }
public int Month3 { get; set; }
public int Month4 { get; set; }
public int Month5 { get; set; }
public int Month6 { get; set; }
public int Month7 { get; set; }
public int Month8 { get; set; }
public int Month9 { get; set; }
public int Month10 { get; set; }
public int Month11 { get; set; }
public int Month12 { get; set; }
public int YearTotal { get; set; }
public int BudgetedYaer { get; set; }
public string Remarks { get; set; }
public int Year { get; set; }
public int DesignationID { get; set; }
public List<HeadCountRequestEmp> HeadCountRequestEmps { get; set; }
#endregion
}
public class HeadCountRequestEmp : AuditTrailBase
{
#region Constructor
public HeadCountRequestEmp()
{
}
#endregion
#region Properties
public int HeadCountApprovalRequestID { get; set; }
public int EmployeeID { get; set; }
public string Department { get; set; }
public string Designation { get; set; }
public Employee Employee { get; set; }
#endregion
}
public interface IHeadCountApprovalRequestService
{
HeadCountApprovalRequest Get(int id);
List<HeadCountApprovalRequest> Get();
void Save(HeadCountApprovalRequest oHeadCountApprovalRequest);
void Delete(int id);
void SaveAuto(List<HeadCountApprovalRequest> items);
int GetBudgetedHeadCount(int departmentId, int designationId, DateTime positionDate);
List<HeadCountApprovalRequest> Get(int year , int departmentID);
List<HeadCountApprovalRequest> GetBudgetedHeadCountByrequisitionID(DateTime positionDate);
}
}