104 lines
2.9 KiB
C#
104 lines
2.9 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Data;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace HRM.BO
|
|
{
|
|
[Serializable]
|
|
public class FinalSettlement : AuditTrailBase
|
|
{
|
|
#region Constructor
|
|
public FinalSettlement()
|
|
{
|
|
MemberID = 0;
|
|
GLTranID = 0;
|
|
EmpCode = string.Empty;
|
|
SettlementDate = DateTime.MinValue;
|
|
TotalPayment = 0;
|
|
PaymentMode = string.Empty;
|
|
}
|
|
#endregion Constructor
|
|
|
|
#region Properties
|
|
|
|
public int MemberID { get; set; }
|
|
|
|
public int GLTranID { get; set; }
|
|
|
|
public string EmpCode { get; set; }
|
|
|
|
public DateTime SettlementDate { get; set; }
|
|
|
|
public decimal TotalPayment { get; set; }
|
|
|
|
public string PaymentMode { get; set; }
|
|
|
|
public decimal LastAudEPF { get; set; }
|
|
|
|
public decimal LastAudCPF { get; set; }
|
|
|
|
public decimal LastAudEPFInterest { get; set; }
|
|
|
|
public decimal LastAudCPFInterest { get; set; }
|
|
|
|
public decimal LastAudCurrentEPFInterest { get; set; }
|
|
|
|
public decimal LastAudCurrentCPFInterest { get; set; }
|
|
|
|
public decimal CurrYearEPF { get; set; }
|
|
|
|
public decimal CurrYearCPF { get; set; }
|
|
|
|
public decimal CurrYearEPFInterest { get; set; }
|
|
|
|
public decimal CurrYearCPFInterest { get; set; }
|
|
|
|
public decimal CurrYearInterestPercent { get; set; }
|
|
|
|
#endregion Properties
|
|
}
|
|
|
|
public class FinalSettlementClerance
|
|
{
|
|
#region Properties
|
|
public int Id { get; set; }
|
|
|
|
public int EmployeeId { get; set; }
|
|
|
|
public string EmployeeNo { get; set; }
|
|
public string EmployeeName { get; set; }
|
|
|
|
public DateTime? SendDate { get; set; }
|
|
|
|
public DateTime? ClearanceDate { get; set; }
|
|
|
|
public EnumSettlementClearanceStatus? SettlementClearanceStatus { get; set; }
|
|
|
|
public string ClearanceStatus { get; set; }
|
|
|
|
public string FsHeadName { get; set; }
|
|
|
|
#endregion Properties
|
|
}
|
|
|
|
#region Interface
|
|
public interface IFinalSettlementService
|
|
{
|
|
void Save(FinalSettlement item);
|
|
//void Save(FinalSettlement finalSettlement, Member member, List<MembersTransactionDetails> memberTransactionDetails, List<Loan> loanCollection, List<LoanLog> loanLogCollection, GLTran glTran, GLTran newglTran);
|
|
FinalSettlement Get(int id);
|
|
List<FinalSettlement> Get();
|
|
// DataTable GetCPFContributionData();
|
|
List<FinalSettlement> Get(string sSql);
|
|
List<FinalSettlementClerance> GetClearanceNotifications(int regEmpId);
|
|
// void DeleteSettlement(int settlementID, Member _member, List<Loan> _loanCollection, GLTran _glTran, List<MembersTransactionDetails> _details);
|
|
|
|
// void Save(FinalSettlement finalSettlement, Member member, List<MembersTransactionDetails> memberTransactionDetails, List<Loan> loanCollection, List<LoanLog> loanLogCollection, GLTran glTran);
|
|
}
|
|
#endregion
|
|
}
|