using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.AccountPost { public class AccountPostSummaryDTO { private int id; private string code; private string name; private int accountid; private string accountcode; private string accountname; private int subaccountid; private string subaccountcode; private string subaccountname; private int controlaccountid; private string controlaccountcode; private string controlaccountname; private int accountgroupid; private string accountgroupcode; private string accountgroupname; private int accountscheduleid; private string accountschedulecode; private string accountschedulename; private int ouid; private string oucode; private string ouname; private int periodid; private string periodcode; private string periodname; private decimal opening; private decimal debit; private decimal credit; private decimal closing; private string reporttype; private string grouptype; private string subperiodname; private DateTime subperiodfromdate = Convert.ToDateTime("1800-01-01"); private DateTime subperiodtodate = Convert.ToDateTime("1800-01-01"); private decimal netamount; private decimal totaldebit; private decimal totalcredit; private decimal finalopening; private decimal finalclosing; private decimal finaldebit; private decimal finalcredit; 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 { v4name = value; } } public string V5Name { get { return v5name; } set { v5name = value; } } private string costcentercode; private string costcentername; public string CostCenterCode { get { return costcentercode; } set { costcentercode = value; } } public string CostCenterName { get { return costcentername; } set { costcentername = value; } } public int Id { get { return id; } set { id = value; } } public string Code { get { return code; } set { code = value; } } public string Name { get { return name; } set { name = value; } } public int AccountId { get { return accountid; } set { accountid = value; } } public string AccountCode { get { return accountcode; } set { accountcode = value; } } public string AccountName { get { return accountname; } set { accountname = value; } } public int SubAccountId { get { return subaccountid; } set { subaccountid = value; } } public string SubAccountCode { get { return subaccountcode; } set { subaccountcode = value; } } public string SubAccountName { get { return subaccountname; } set { subaccountname = 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; } } 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; } } 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 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 int PeriodId { get { return periodid; } set { periodid = value; } } public string PeriodCode { get { return periodcode; } set { periodcode = value; } } public string PeriodName { get { return periodname; } set { periodname = value; } } public decimal Opening { get { return opening; } set { opening = value; } } public decimal Debit { get { return debit; } set { debit = value; } } public decimal Credit { get { return credit; } set { credit = value; } } public decimal Closing { get { return closing; } set { closing = value; } } public decimal NetAmount { get { return netamount; } set { netamount = value; } } public string ReportType { get { return reporttype; } set { reporttype = value; } } public string GroupType { get { return grouptype; } set { grouptype = value; } } public string SubPeriodName { get { return subperiodname; } set { subperiodname = value; } } public DateTime SubPeriodFromDate { get { return subperiodfromdate; } set { if (value.Year != 1) { subperiodfromdate = value; } else { subperiodfromdate = Convert.ToDateTime("1800-01-01"); }; } } public DateTime SubPeriodToDate { get { return subperiodtodate; } set { if (value.Year != 1) { subperiodtodate = value; } else { subperiodtodate = Convert.ToDateTime("1800-01-01"); }; } } private Int64 numberofreocrds; public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } private string label = ""; public string Label { get { return label; } set { label = value; } } 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 FinalDebit { get { return finaldebit; } set { finaldebit = value; } } public decimal FinalCredit { get { return finalcredit; } set { finalcredit = value; } } public decimal FinalClosing { get { return finalclosing; } set { finalclosing = value; } } } }