EchoTex_Payroll/HRM.BO/Basic/ApproveFinantialData.cs

62 lines
1.7 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region ApproveFinantialData
public class ApproveFinantialData : BasicBaseObject
{
#region Constructor
public ApproveFinantialData()
{
FinantialDataType = EnumApprovalFinancialData.Allowance;
EmployeeID = 0;
ObjectID = 0;
SalaryMonth = DateTime.Today;
Approvedby = 0;
ApprovedDate = DateTime.Today;
}
#endregion
#region Properties
public EnumApprovalFinancialData FinantialDataType { get; set; }
public int EmployeeID { get; set; }
public int ObjectID { get; set; }
public DateTime SalaryMonth { get; set; }
public int Approvedby { get; set; }
public DateTime ApprovedDate { get; set; }
//#region Service Factory IApproveFinantialDataService : IApproveFinantialDataService
//internal static IApproveFinantialDataService Service
//{
// get { return Services.Factory.CreateService<IApproveFinantialDataService>(typeof(IApproveFinantialDataService)); }
//}
//#endregion
#endregion
}
#endregion
#region IApproveFinantialData Service
public interface IApproveFinantialDataService
{
ApproveFinantialData Get(int EmpID, DateTime dt);
List<ApproveFinantialData> Get(int id);
List<ApproveFinantialData> Get();
List<ApproveFinantialData> GetByMonth(DateTime dtStart, DateTime dtEnd);
void Save(List<ApproveFinantialData> items);
void Delete(ApproveFinantialData item);
void Delete(List<ApproveFinantialData> items);
}
#endregion
}