using System; using System.Linq; using System.Data; using System.Collections.Generic; namespace HRM.BO { #region Class EmpSuuportDetails [Serializable] public class EmpSuuportDetails : AuditTrailBase { #region Constructor public EmpSuuportDetails() { Code = string.Empty; Description = string.Empty; MapPRCode = string.Empty; ProjectID = 0; Type = EmpSuppotInfoTypeEnum.All; } #endregion #region properties public int EmpID { get; set; } public string Code { get; set; } public string Description { get; set; } public string MapPRCode { get; set; } public EmpSuppotInfoTypeEnum Type { get; set; } public int ProjectID { get; set; } #endregion } #endregion #region Interface public interface IEmpSuuportDetailsService { void Save(EmpSuuportDetails item); void Delete(int id); EmpSuuportDetails Get(int id); List Get(); List GetbyEmpType(int Type); DataTable GetTable(); bool IsExist(string sCode); DataSet GetMembers(bool isForMonth, DateTime uploadMonth); DataSet GetMembers(string employeeNos); bool IsUploaded(); void SaveMembers(List empGrades, List empDepts, List empDesigs, DataTable members); void SaveMembers(List empCategorys, List empGrades, List empDepts, List empDesigs, DataTable members); //ObjectsTemplate GetbyEmpType(int type); void SaveMembers(DataTable members); } #endregion }