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 Get(); DevelopmentPlan Get(int id); List GetByObjectiveSetId(int objectiveSetId); List GetByPmpYearId(int id); List GetPreviousYears(int employeeId, int pmpYearId); List 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 GetFunctionalDevelopment(int DevPlanID); List GetByEmployeeID(int id); List GetByPMPYearID(int id, string InEmpSQL); List GetByObjSetID(int id); } #endregion }