using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GB5Shared.DTO.Report; using PayRollDAL.DTO.DailyAttendance; namespace PayRollDAL.DTO.PayProcess { public class PaySlipReportDTO { private decimal totalearnings; private decimal totaldeductions; private decimal totalnetsalary; private string totalnetsalaryinwords; private int settlementreporttype; private decimal totalamount; private decimal payadditionval; private decimal paydeductionval; private decimal addition; private decimal deduction; private decimal leaveamount; private decimal bonusamount; private decimal gratuityamount; private string finalamountinwords; private PayProcessReportDTO payprocessreport; private IList employeepayconfigurationdetailreportdtos; private IList employeeleavedetailreportdtos; private IList employeeadvancedetailreportdtos; private AddressDTO addressdto; private List addsettlementdtos; private List subsettlementdtos; private List settlementrelatedotherdetailsdtos; private int totalcount; private IList leavestatusdtos; public decimal TotalEarnings { get { return totalearnings; } set { totalearnings = value; } } public decimal TotalDeductions { get { return totaldeductions; } set { totaldeductions = value; } } public decimal TotalNetSalary { get { return totalnetsalary; } set { totalnetsalary = value; } } public string TotalNetSalaryInWords { get { return totalnetsalaryinwords; } set { totalnetsalaryinwords = value; } } public int SettlementReportType { get { return settlementreporttype; } set { settlementreporttype = value; } } public decimal TotalAmount { get { return totalamount; } set { totalamount = value; } } public decimal PayAdditionVal { get { return payadditionval; } set { payadditionval = value; } } public decimal PayDeductionVal { get { return paydeductionval; } set { paydeductionval = value; } } public decimal Addition { get { return addition; } set { addition = value; } } public decimal Deduction { get { return deduction; } set { deduction = value; } } public decimal LeaveAmount { get { return leaveamount; } set { leaveamount = value; } } public decimal BonusAmount { get { return bonusamount; } set { bonusamount = value; } } public decimal GratuityAmount { get { return gratuityamount; } set { gratuityamount = value; } } public string FinalAmountinWords { get { return finalamountinwords; } set { finalamountinwords = value; } } //public PayProcessReport PayprocessReport //{ // get { return payprocessreport; } // set { payprocessreport = value; } //} public PayProcessReportDTO PayprocessReport { get { return payprocessreport; } set { payprocessreport = value; } } public IList EmployeePayconfigurationDetailReportDTOs { get { return employeepayconfigurationdetailreportdtos; } set { employeepayconfigurationdetailreportdtos = value; } } public IList EmployeeLeaveDetailReportDTOs { get { return employeeleavedetailreportdtos; } set { employeeleavedetailreportdtos = value; } } public IList EmployeeAdvanceDetailReportDTOs { get { return employeeadvancedetailreportdtos; } set { employeeadvancedetailreportdtos = value; } } public AddressDTO AddressDTO { get { return addressdto; } set { addressdto = value; } } public List AddSettlementDTOs { get { return addsettlementdtos; } set { addsettlementdtos = value; } } public List SubSettlementDTOs { get { return subsettlementdtos; } set { subsettlementdtos = value; } } public List SettlementRelatedOtherDetailsDTOs { get { return settlementrelatedotherdetailsdtos; } set { settlementrelatedotherdetailsdtos = value; } } public IList LeaveStatusDTOs { get { return leavestatusdtos; } set { leavestatusdtos = value; } } public int Totalcount { get { return totalcount; } set { totalcount = value; } } private List dailyattendancereportdtos = new List(); public List DailyAttendanceReportDTOs { get { return dailyattendancereportdtos; } //code set { dailyattendancereportdtos = value; } //code } } }