using Ease.Core; using Ease.Core.Model; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.IO; using System.Reflection; namespace HRM.BO { #region Class Training public class Training : AuditTrailBase { #region Constructor public Training() { Code = string.Empty; Name = string.Empty; TrainingType = null; TrainingDuration = 0; TrainingTypeID = 0; StandardCost = 0; LearningObjective = string.Empty; } #endregion #region Properties public int TrainingTypeID { get; set; } public string Code { get; set; } public string Name { get; set; } public TrainingType TrainingType { get; set; } public double TrainingDuration { get; set; } public double StandardCost { get; set; } public string LearningObjective { get; set; } public EnumTrainingCharacter CharacterType { get; set; } #endregion } #endregion #region ITrainingService Service public interface ITrainingService { Training Get(int id); List GetbyTypeID(int typeid); List Get(); List Get(string query); int Save(Training oTraining); void Delete(int id); //DataSet GetEmployeeWiseTrainingSummary(string sEmpIDs, DateTime fromDate, DateTime toDate, int tNature, int tTrainingType, int trainingID, int deptID, int instituteID, int payrollTypeID); //DataSet GetTrainingWiseReport(string sEmpIDs, int trainingID, DateTime fromDate, DateTime toDate, int nTypeID, int nNatureID, int ndeptID, int instituteID, int payrollTypeID); //DataSet GetDeptWiseTrainingReport(int dptID, DateTime fromDate, DateTime toDate, int tNatureID, int tTrainingTypeID, int instituteID, int trainingID, int payrollTypeID); //DataSet GetEmployeeWiseTrainingReport(string sEmpIDs, int nNatureID, int tTrainingTypeID, int ndeptID, int instituteID, int year, int payrollTypeID); //DataSet GetTrainingAttendenceReport(string sEmpIDs, int trainingID, DateTime dStartDate, DateTime dEndDate, int tTrainingTypeID, int nNatureID, int instituteID, int nScheduleID, int payrollTypeID); //DataSet GetEmployeeWiseTrainingDetails(string sEmpIDs, DateTime dStartDate, DateTime dEndDate, int nTypeID, int nNatureID, int instituteID, int payrollTypeID); //DataSet GetTrainingNameWiseDetails(string sEmpIDs, DateTime dStartDate, DateTime dEndDate, int nTyprID, int nNatureID, int instituteID, int trainingID, int payrollTypeID); //DataSet GetDepartmentWiseTrainingExpense(string sEmpIDs, int nNatureID, int nTrainingTypeID, int instituteID, int year, int payrollTypeID); //DataSet GetTrainingConductedByDeptReport(int dptID, DateTime fromDate, DateTime toDate, int tNature, int tTrainingType, int nTrainingID, int instituteID, int payrollTypeID); //DataSet GetEntityWiseTrainingSummery(string sEmpIDs, DateTime fromDate, DateTime toDate, int tNature, int tTrainingType, int instituteID); //DataSet GetTrainingCostDetailsReport(string sEmpIDs); //DataSet GetTrainingCostingInfoReport(string sEmpIDs, DateTime dFromDate, DateTime dToDate, int tNature, int instituteID, int tTrainingType, int payrollTypeID); //DataSet ShowSoftPlanReport(string tYear); //DataSet GetEmployeeWiseTrainingReport(string sEmpIDs); //List GetByIDs(string sIDs); //DataSet GetEmployeeWiseTrainingSummary(string sEmpIDs, DateTime fromDate, DateTime toDate, int tNature, int tTrainingType, int trainingID, List deptIDs, int instituteID); //DataSet GetTrainingConductedByDeptReport(List dptIDs, DateTime fromDate, DateTime toDate, int tNature, int tTrainingType, int nTrainingID, int instituteID); //DataSet GetDeptWiseTrainingReport(List dptIDs, DateTime fromDate, DateTime toDate, int tNatureID, int tTrainingTypeID, int instituteID, int trainingID); } #endregion }