using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Ageing { public class AgeingReportDTO { private string accountcode; private string accountname; private decimal age1; private decimal age2; private decimal age3; private decimal age4; private decimal age5; private decimal age6; private decimal age7; private decimal age8; private decimal age9; private decimal age10; private int accountid; private int controlaccountid; private string controlaccountcode; private string controlaccountname; #region private string age1reportvalue; private string age2reportvalue; private string age3reportvalue; private string age4reportvalue; private string age5reportvalue; private string age6reportvalue; private string age7reportvalue; private string age8reportvalue; private string age9reportvalue; private string age10reportvalue; #endregion private decimal total; private decimal recamt; private decimal payamt; private decimal netamt; private decimal unadjusted; private decimal agefc1; private decimal agefc2; private decimal agefc3; private decimal agefc4; private decimal agefc5; private decimal agefc6; private decimal totalfc; private decimal recamtfc; private decimal payamtfc; private decimal netamtfc; private decimal unadjustedfc; private decimal overduefc; private decimal nonoverduefc; private decimal voucheramount; private string documentnumber; private DateTime documentdate = DateTime.Now; private string referencenumber; private DateTime referencedate = DateTime.Now; private string categorycode; private string categoryname; private string salesmancode; private string salesmanname; private string routecode; private string routename; private string agentcode; private string agentname; private int categoryid; private int salesmanid; private int routeid; private int agentid; private int cityid; private string citycode; private string cityname; private int reporttype; private int grouptype; private Int32 duedays; private DateTime duedate; private Int16 slno; private string status; private decimal overdue; private decimal nonoverdue; private int voucherid; private string detailnumber; private DateTime detaildate; private string currencycode; private string currencysymbol; private string detailcurrencysymbol; private string detailcurrencycode; private decimal instrumentamount; private string ismsmeaccount; private string allocationname; private string allocationshortname; private string allocationdescription; private string allocationinchargecode; private string allocationinchargename; private string allocationinchargemail; private string allocationinchargemobile; private string partyinfoname; private string partyinfocode; private int ouid; private string oucode; private string ouname; private string headpartybranchcode; private string headpartybranchname; private string allocationremarks; private string headaddress1; private string headaddress2; private string headaddress3; private decimal totalage; public decimal TotalAge { get { return totalage; } set { totalage = value; } } public string HeadAddress1 { get { return headaddress1; } set { headaddress1 = value; } } public string HeadAddress2 { get { return headaddress2; } set { headaddress2 = value; } } public string HeadAddress3 { get { return headaddress3; } set { headaddress3 = value; } } public string AllocationRemarks { get { return allocationremarks; } set { allocationremarks = value; } } public string HeadPartyBranchCode { get { return headpartybranchcode; } set { headpartybranchcode = value; } } public string HeadPartyBranchName { get { return headpartybranchname; } set { headpartybranchname = value; } } public int OUId { get { return ouid; } set { ouid = value; } } public string OUCode { get { return oucode; } set { oucode = value; } } public string OUName { get { return ouname; } set { ouname = value; } } public string ISMSMEAccount { get { return ismsmeaccount; } set { ismsmeaccount = value; } } public int AccountId { get { return accountid; } set { accountid = value; } } public int VoucherId { get { return voucherid; } set { voucherid = value; } } public Int32 DueDays { get { return duedays; } set { duedays = value; } } public Int16 SlNo { get { return slno; } set { slno = value; } } public DateTime DueDate { get { return duedate; } set { duedate = value; } } public string Status { get { return status; } set { status = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string CurrencySymbol { get { return currencysymbol; } set { currencysymbol = value; } } public string DetailCurrencySymbol { get { return detailcurrencysymbol; } set { detailcurrencysymbol = value; } } public string DetailCurrencyCode { get { return detailcurrencycode; } set { detailcurrencycode = value; } } public string AccountCode { get { return accountcode; } set { accountcode = value; } } public string AccountName { get { return accountname; } set { accountname = value; } } public decimal Age1 { get { return age1; } set { age1 = value; } } public decimal Age2 { get { return age2; } set { age2 = value; } } public decimal Age3 { get { return age3; } set { age3 = value; } } public decimal Age4 { get { return age4; } set { age4 = value; } } public decimal Age5 { get { return age5; } set { age5 = value; } } public decimal Age6 { get { return age6; } set { age6 = value; } } public decimal Age7 { get { return age7; } set { age7 = value; } } public decimal Age8 { get { return age8; } set { age8 = value; } } public decimal Age9 { get { return age9; } set { age9 = value; } } public decimal Age10 { get { return age10; } set { age10 = value; } } public int ControlAccountId { get { return controlaccountid; } set { controlaccountid = value; } } public string ControlAccountCode { get { return controlaccountcode; } set { controlaccountcode = value; } } public string ControlAccountName { get { return controlaccountname; } set { controlaccountname = value; } } #region public string Age1ReportValue { get { return age1reportvalue; } set { age1reportvalue = value; } } public string Age2ReportValue { get { return age2reportvalue; } set { age2reportvalue = value; } } public string Age3ReportValue { get { return age3reportvalue; } set { age3reportvalue = value; } } public string Age4ReportValue { get { return age4reportvalue; } set { age4reportvalue = value; } } public string Age5ReportValue { get { return age5reportvalue; } set { age5reportvalue = value; } } public string Age6ReportValue { get { return age6reportvalue; } set { age6reportvalue = value; } } public string Age7ReportValue { get { return age7reportvalue; } set { age7reportvalue = value; } } public string Age8ReportValue { get { return age8reportvalue; } set { age8reportvalue = value; } } public string Age9ReportValue { get { return age9reportvalue; } set { age9reportvalue = value; } } public string Age10ReportValue { get { return age10reportvalue; } set { age10reportvalue = value; } } #endregion public decimal Total { get { return total; } set { total = value; } } public decimal RecAmt { get { return recamt; } set { recamt = value; } } public decimal PayAmt { get { return payamt; } set { payamt = value; } } public decimal NetAmt { get { return netamt; } set { netamt = value; } } public decimal VoucherAmount { get { return voucheramount; } set { voucheramount = value; } } public decimal UnAdjusted { get { return unadjusted; } set { unadjusted = value; } } public decimal AgeFC1 { get { return agefc1; } set { agefc1 = value; } } public decimal AgeFC2 { get { return agefc2; } set { agefc2 = value; } } public decimal AgeFC3 { get { return agefc3; } set { agefc3 = value; } } public decimal AgeFC4 { get { return agefc4; } set { agefc4 = value; } } public decimal AgeFC5 { get { return agefc5; } set { agefc5 = value; } } public decimal AgeFC6 { get { return agefc6; } set { agefc6 = value; } } public decimal TotalFC { get { return totalfc; } set { totalfc = value; } } public decimal RecAmtFC { get { return recamtfc; } set { recamtfc = value; } } public decimal PayAmtFC { get { return payamtfc; } set { payamtfc = value; } } public decimal NetAmtFC { get { return netamtfc; } set { netamtfc = value; } } public decimal UnAdjustedFC { get { return unadjustedfc; } set { unadjustedfc = value; } } public decimal OverdueFC { get { return overduefc; } set { overduefc = value; } } public decimal NonOverdueFC { get { return nonoverduefc; } set { nonoverduefc = value; } } public string DocumentNumber { get { return documentnumber; } set { documentnumber = value; } } public DateTime DocumentDate { get { return documentdate; } set { documentdate = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public DateTime ReferenceDate { get { return referencedate; } set { referencedate = value; } } public int CategoryId { get { return categoryid; } set { categoryid = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string CategoryName { get { return categoryname; } set { categoryname = value; } } public int SalesmanId { get { return salesmanid; } set { salesmanid = value; } } public string SalesmanCode { get { return salesmancode; } set { salesmancode = value; } } public string SalesmanName { get { return salesmanname; } set { salesmanname = value; } } public int RouteId { get { return routeid; } set { routeid = value; } } public string RouteCode { get { return routecode; } set { routecode = value; } } public string RouteName { get { return routename; } set { routename = value; } } public int AgentId { get { return agentid; } set { agentid = value; } } public string AgentCode { get { return agentcode; } set { agentcode = value; } } public string AgentName { get { return agentname; } set { agentname = value; } } public int ReportType { get { return reporttype; } set { reporttype = value; } } public int GroupType { get { return grouptype; } set { grouptype = value; } } public decimal Overdue { get { return overdue; } set { overdue = value; } } public decimal NonOverdue { get { return nonoverdue; } set { nonoverdue = value; } } public string DetailNumber { get { return detailnumber; } set { detailnumber = value; } } public DateTime DetailDate { get { return detaildate; } set { detaildate = value; } } public decimal InstrumentAmount { get { return instrumentamount; } set { instrumentamount = value; } } #region Total private decimal totalage1; private decimal totalage2; private decimal totalage3; private decimal totalage4; private decimal totalage5; private decimal totalage6; private decimal netamttotal; private decimal unadjustedtotal; private decimal totalrecamt; private decimal totalpayamt; private decimal balancetotal; private decimal totalagefc1; private decimal totalagefc2; private decimal totalagefc3; private decimal totalagefc4; private decimal totalagefc5; private decimal totalagefc6; private decimal netamttotalfc; private decimal unadjustedtotalfc; private decimal totalrecamtfc; private decimal totalpayamtfc; private decimal balancetotalfc; public decimal TotalAge1 { get { return totalage1; } set { totalage1 = value; } } public decimal TotalAge2 { get { return totalage2; } set { totalage2 = value; } } public decimal TotalAge3 { get { return totalage3; } set { totalage3 = value; } } public decimal TotalAge4 { get { return totalage4; } set { totalage4 = value; } } public decimal TotalAge5 { get { return totalage5; } set { totalage5 = value; } } public decimal TotalAge6 { get { return totalage6; } set { totalage6 = value; } } public decimal TotalRecAmt { get { return totalrecamt; } set { totalrecamt = value; } } public decimal TotalPayAmt { get { return totalpayamt; } set { totalpayamt = value; } } public decimal BalanceTotal { get { return balancetotal; } set { balancetotal = value; } } public decimal UnAdjustedTotal { get { return unadjustedtotal; } set { unadjustedtotal = value; } } public decimal NetAmtTotal { get { return netamttotal; } set { netamttotal = value; } } public decimal TotalAgeFC1 { get { return totalagefc1; } set { totalagefc1 = value; } } public decimal TotalAgeFC2 { get { return totalagefc2; } set { totalagefc2 = value; } } public decimal TotalAgeFC3 { get { return totalagefc3; } set { totalagefc3 = value; } } public decimal TotalAgeFC4 { get { return totalagefc4; } set { totalagefc4 = value; } } public decimal TotalAgeFC5 { get { return totalagefc5; } set { totalagefc5 = value; } } public decimal TotalAgeFC6 { get { return totalagefc6; } set { totalagefc6 = value; } } public decimal TotalRecAmtFC { get { return totalrecamtfc; } set { totalrecamtfc = value; } } public decimal TotalPayAmtFC { get { return totalpayamtfc; } set { totalpayamtfc = value; } } public decimal BalanceTotalFC { get { return balancetotalfc; } set { balancetotalfc = value; } } public decimal UnAdjustedTotalFC { get { return unadjustedtotalfc; } set { unadjustedtotalfc = value; } } public decimal NetAmtTotalFC { get { return netamttotalfc; } set { netamttotalfc = value; } } #endregion Total private IList ageingreportwithinstrumentarray; public IList AgeingReportwithInstrumentArray { get { return ageingreportwithinstrumentarray; } set { ageingreportwithinstrumentarray = value; } } public int CityId { get { return cityid; } set { cityid = value; } } public string CityCode { get { return citycode; } set { citycode = value; } } public string CityName { get { return cityname; } set { cityname = value; } } public string AllocationName { get { return allocationname; } set { allocationname = value; } } public string AllocationShortName { get { return allocationshortname; } set { allocationshortname = value; } } public string AllocationDescription { get { return allocationdescription; } set { allocationdescription = value; } } public string AllocationInchargeCode { get { return allocationinchargecode; } set { allocationinchargecode = value; } } public string AllocationInchargeName { get { return allocationinchargename; } set { allocationinchargename = value; } } public string AllocationInchargeMail { get { return allocationinchargemail; } set { allocationinchargemail = value; } } public string AllocationInchargeMobile { get { return allocationinchargemobile; } set { allocationinchargemobile = value; } } private string contactname; private string contactfirstname; private string contactmail; private string contactphone; private string contactmobile; private string allocationpartyname; private string partybranchpartyname; private string referencepartybranchname; private string brokerpartybranchname; public string ContactName { get { return contactname; } set { contactname = value; } } public string ContactFirstName { get { return contactfirstname; } set { contactfirstname = value; } } public string ContactMail { get { return contactmail; } set { contactmail = value; } } public string ContactPhone { get { return contactphone; } set { contactphone = value; } } public string ContactMobile { get { return contactmobile; } set { contactmobile = value; } } public string AllocationPartyName { get { return allocationpartyname; } set { allocationpartyname = value; } } public string PartyBranchPartyName { get { return partybranchpartyname; } set { partybranchpartyname = value; } } public string ReferencePartyBranchName { get { return referencepartybranchname; } set { referencepartybranchname = value; } } public string BrokerPartyBranchName { get { return brokerpartybranchname; } set { brokerpartybranchname = value; } } public string PartyInfoName { get { return partyinfoname; } set { partyinfoname = value; } } public string PartyInfoCode { get { return partyinfocode; } set { partyinfocode = value; } } } }