using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.AccountsReports { public class LedgerReportDTO { #region PrivateMembers //ICommonFunctionFrameDAL Common = new CommonFunctionFrameDAL(); private int ledgerid = 0; private string ledgercode = ""; private string ledgername = ""; private int voucherid = 0; private string vouchernumber = ""; private DateTime voucherdate = DateTime.Now; private string referencenumber = ""; private DateTime referencedate = DateTime.Now; private int status; private int biztransactiontypeid = 0; private string biztransactiontypecode = ""; private string biztransactiontypename = ""; private string vouchernarration = ""; private int voucherdetailaccountid = 0; private string voucherdetailaccountcode = ""; private string voucherdetailaccountname = ""; private string loro; public string LorO { get { return loro; } set { loro = value; } } private int detailtype = 0; private int voucheraccountid; private string accountpostdate; private string voucherdetailnarration = ""; private decimal amount = 0; private decimal debit = 0; private decimal credit = 0; private decimal openingamount = 0; private string accountbookstype = ""; private string month = ""; private int year = 0; private int accountscheduleid = 0; private string accountschedulecode = ""; private string accountschedulename = ""; private int accountgroupid = 0; private string accountgroupcode = ""; private string accountgroupname = ""; private string currencycode; private string closingamountinwords; public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string ClosingAmountInWords { get { return closingamountinwords; } set { closingamountinwords = value; } } private string oucode; private string ouname; private string instrumentname; private string instrumenttype; #endregion #region PublicMembers public string OUCode { get { return oucode; } set { oucode = value; } } public string OUName { get { return ouname; } set { ouname = value; } } public string InstrumentName { get { return instrumentname; } set { instrumentname = value; } } public string InstrumentType { get { return instrumenttype; } set { instrumenttype = value; } } public int LedgerId { get { return ledgerid; } set { ledgerid = value; } } public string LedgerCode { get { return ledgercode; } set { ledgercode = value; } } public string LedgerName { get { return ledgername; } set { ledgername = value; } } public int Status { get { return status; } set { status = value; } } public int VoucherId { get { return voucherid; } set { voucherid = value; } } public string VoucherNumber { get { return vouchernumber; } set { vouchernumber = value; } } public DateTime VoucherDate { get { return voucherdate; } set { voucherdate = value; } } public string AccountPostDate { get { return accountpostdate; } set { accountpostdate = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public DateTime ReferenceDate { get { return referencedate; } set { referencedate = value; } } public int BizTransactionTypeId { get { return biztransactiontypeid; } set { biztransactiontypeid = value; } } public string BizTransactionTypeCode { get { return biztransactiontypecode; } set { biztransactiontypecode = value; } } public string BizTransactionTypeName { get { return biztransactiontypename; } set { biztransactiontypename = value; } } public string VoucherNarration { get { return vouchernarration; } set { vouchernarration = value; } } public int VoucherDetailAccountId { get { return voucherdetailaccountid; } set { voucherdetailaccountid = value; } } public string VoucherDetailAccountCode { get { return voucherdetailaccountcode; } set { voucherdetailaccountcode = value; } } public string VoucherDetailAccountName { get { return voucherdetailaccountname; } set { voucherdetailaccountname = value; } } public int DetailType { get { return detailtype; } set { detailtype = value; } } public int VoucherAccountId { get { return voucheraccountid; } set { voucheraccountid = value; } } public string VoucherDetailNarration { get { return voucherdetailnarration; } set { voucherdetailnarration = value; } } public decimal Amount { get { return amount; } set { amount = value; } } public decimal Debit { get { return debit; } set { debit = value; } } public decimal Credit { get { return credit; } set { credit = value; } } public decimal OpeningAmount { get { return openingamount; } set { openingamount = value; } } public string AccountBooksType { get { return accountbookstype; } set { accountbookstype = value; } } public string Month { get { return month; } set { month = value; } } public int Year { get { return year; } set { year = value; } } #endregion private string bankaccountnumber; private string bankname; private string bankbranch; private string ifsc; private int defaultaddressid; private string line1; private string line2; private string line3; private string line4; private string zipcode; private string cityname; private string costcentercode; private string costcentername; private string ismsmeaccount; private int bizsortorder; public int BIZSortOrder { get { return bizsortorder; } set { bizsortorder = value; } } private Int64 numberofreocrds; public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } private string label = ""; public virtual string Label { get { return label; } set { label = value; } } private decimal closingamount; private decimal transactionopeningamount; private decimal transactionclosingamount; public decimal ClosingAmount { get { return closingamount; } set { closingamount = value; } } public decimal TransactionOpeningAmount { get { return transactionopeningamount; } set { transactionopeningamount = value; } } public decimal TransactionClosingAmount { get { return transactionclosingamount; } set { transactionclosingamount = value; } } public int AccountScheduleId { get { return accountscheduleid; } set { accountscheduleid = value; } } public string AccountScheduleCode { get { return accountschedulecode; } set { accountschedulecode = value; } } public string AccountScheduleName { get { return accountschedulename; } set { accountschedulename = value; } } public int AccountGroupId { get { return accountgroupid; } set { accountgroupid = value; } } public string AccountGroupCode { get { return accountgroupcode; } set { accountgroupcode = value; } } public string AccountGroupName { get { return accountgroupname; } set { accountgroupname = value; } } #region Total private decimal finalclosing; private decimal totaldebit; private decimal totalcredit; private decimal finalopening; public decimal TotalDebit { get { return totaldebit; } set { totaldebit = value; } } public decimal TotalCredit { get { return totalcredit; } set { totalcredit = value; } } public decimal FinalOpening { get { return finalopening; } set { finalopening = value; } } public decimal FinalClosing { get { return finalclosing; } set { finalclosing = value; } } #endregion private decimal runningtotal; private decimal openingrunning; private Int64 linenumber; public decimal RunningTotal { get { return runningtotal; } set { runningtotal = value; } } public decimal OpeningRunning { get { return openingrunning; } set { openingrunning = value; } } public Int64 LineNumber { get { return linenumber; } set { linenumber = value; } } public string BankAccountNumber { get { return bankaccountnumber; } set { bankaccountnumber = value; } } public string BankName { get { return bankname; } set { bankname = value; } } public string BankBranch { get { return bankbranch; } set { bankbranch = value; } } public string IFSC { get { return ifsc; } set { ifsc = value; } } public int DefaultAddressId { get { return defaultaddressid; } set { defaultaddressid = value; } } public string Line1 { get { return line1; } set { line1 = value; } } public string Line2 { get { return line2; } set { line2 = value; } } public string Line3 { get { return line3; } set { line3 = value; } } public string Line4 { get { return line4; } set { line4 = value; } } public string ZIPCode { get { return zipcode; } set { zipcode = value; } } public string CityName { get { return cityname; } set { cityname = value; } } public string ISMSMEAccount { get { return ismsmeaccount; } set { ismsmeaccount = value; } } private string v1code; private string v2code; private string v3code; private string v4code; private string v5code; private string v1name; private string v2name; private string v3name; private string v4name; private string v5name; public string V1Code { get { return v1code; } set { v1code = value; } } public string V2Code { get { return v2code; } set { v2code = value; } } public string V3Code { get { return v3code; } set { v3code = value; } } public string V4Code { get { return v4code; } set { v4code = value; } } public string V5Code { get { return v5code; } set { v5code = value; } } public string V1Name { get { return v1name; } set { v1name = value; } } public string V2Name { get { return v2name; } set { v2name = value; } } public string V3Name { get { return v3name; } set { v3name = value; } } public string V4Name { get { return v4name; } set { v3name = value; } } public string V5Name { get { return v5name; } set { v5name = value; } } public string CostCenterCode { get { return costcentercode; } set { costcentercode = value; } } public string CostCenterName { get { return costcentername; } set { costcentername = value; } } private string instrumentnumber; private DateTime instrumentdate; public string InstrumentNumber { get { return instrumentnumber; } set { instrumentnumber = value; } } public DateTime InstrumentDate { get { return instrumentdate; } set { instrumentdate = value; } } private int allocationid; private string allocationname; private string allocationdescription; private string mallocationtypename; private string mallocationtypecode; public string MAllocationTypeName { get { return mallocationtypename; } set { mallocationtypename = value; } } public string MAllocationTypeCode { get { return mallocationtypecode; } set { mallocationtypecode = value; } } public string AllocationName { get { return allocationname; } set { allocationname = value; } } public string AllocationDescription { get { return allocationdescription; } set { allocationdescription = value; } } public int AllocationId { get { return allocationid; } set { allocationid = value; } } } }