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 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 Get(); void Save(HeadCountApprovalRequest oHeadCountApprovalRequest); void Delete(int id); void SaveAuto(List items); int GetBudgetedHeadCount(int departmentId, int designationId, DateTime positionDate); List Get(int year , int departmentID); List GetBudgetedHeadCountByrequisitionID(DateTime positionDate); } }