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(typeof(IApproveFinantialDataService)); } //} //#endregion #endregion } #endregion #region IApproveFinantialData Service public interface IApproveFinantialDataService { ApproveFinantialData Get(int EmpID, DateTime dt); List Get(int id); List Get(); List GetByMonth(DateTime dtStart, DateTime dtEnd); void Save(List items); void Delete(ApproveFinantialData item); void Delete(List items); } #endregion }