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

77 lines
2.3 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class DevelopmentPlan : BasicBaseObject
{
#region Constructor
public DevelopmentPlan()
{
//this.TimeLine = string.Empty;
}
#endregion
#region Properties
public int ObjectiveSetID { get; set; }
public int EmployeeID { get; set; }
public int PMPYearID { get; set; }
//public string TimeLine { get; set; }
public DateTime? FromDate { get; set; }
public DateTime ToDate { get; set; }
public int? TrainingID { get; set; }
public string TrainingName { get; set; }
public double TargetRatingID { get; set; }
public string MeasureOfSuccess { get; set; }
//public bool CanTravel { get; set; }
public string EmpRemarks { get; set; }
public string LMRemarks { get; set; }
public string EmployeeName { get; set; }
public string DesignationName { get; set; }
public string DepartmentName { get; set; }
public string EmployeeNo { get; set; }
#endregion
}
public class FunctionalDevelopment : BasicBaseObject
{
public int DevelopmentPlanID { get; set; }
public int TrainingID { get; set; }
}
#region IDevelopmentPlanService Service
public interface IDevelopmentPlanService
{
List<DevelopmentPlan> Get();
DevelopmentPlan Get(int id);
List<DevelopmentPlan> GetByObjectiveSetId(int objectiveSetId);
List<DevelopmentPlan> GetByPmpYearId(int id);
List<DevelopmentPlan> GetPreviousYears(int employeeId, int pmpYearId);
List<DevelopmentPlan> GetPreviousYears(int employeeId, DateTime pmpYear);
DataSet GetTrainingNeedAnalysisCount(int pmpYearId);
int Save(DevelopmentPlan item);
void Delete(int id);
int Save(DevelopmentPlan item, EnumObjectiveFlowStatus DevPlanEmpStatus);
void LMSave(DevelopmentPlan item, EnumObjectiveFlowStatus DevPlanLMStatus);
List<FunctionalDevelopment> GetFunctionalDevelopment(int DevPlanID);
List<DevelopmentPlan> GetByEmployeeID(int id);
List<DevelopmentPlan> GetByPMPYearID(int id, string InEmpSQL);
List<DevelopmentPlan> GetByObjSetID(int id);
}
#endregion
}