EchoTex_Payroll/HRM.BO/Fund/MemberInfo/EmpSuuportDetails.cs

72 lines
1.8 KiB
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00
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<EmpSuuportDetails> Get();
List<EmpSuuportDetails> GetbyEmpType(int Type);
DataTable GetTable();
bool IsExist(string sCode);
DataSet GetMembers(bool isForMonth, DateTime uploadMonth);
DataSet GetMembers(string employeeNos);
bool IsUploaded();
void SaveMembers(List<EmpSuuportDetails> empGrades, List<EmpSuuportDetails> empDepts, List<EmpSuuportDetails> empDesigs, DataTable members);
void SaveMembers(List<EmpSuuportDetails> empCategorys, List<EmpSuuportDetails> empGrades, List<EmpSuuportDetails> empDepts, List<EmpSuuportDetails> empDesigs, DataTable members);
//ObjectsTemplate<EmpSuuportDetails> GetbyEmpType(int type);
void SaveMembers(DataTable members);
}
#endregion
}