using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.AccountPost { public class AccountPostReportDTO { #region PrivateMembers #region AccountPost private int accountpostid; #region OrganizationUnit private int ouid = -1; private string oucode; private string ouname; #endregion private DateTime accountpostdate; //Date #region Account private int accountid = -1; private string accountcode; private string accountname; #endregion #region SubAccount private int subaccountid = -1; private string subaccountcode; private string subaccountname; #endregion #region Period private int periodid = -1; private string periodcode; private string periodname; #endregion private decimal accountpostdebit; //Debit private decimal accountpostcredit; //Credit private decimal accountpostopening; //Opening private decimal accountpostclosing; //Closing private decimal accountpostprovisionaldebit; //ProvisionalDebit private decimal accountpostprovisionalcredit; //ProvisionalCredit private decimal accountpostprovisionalopening; //ProvisionalOpening private decimal accountpostprovisionalclosing; //ProvisionalClosing #endregion #endregion #region PublicMembers #region AccountPost public int AccountPostId { get { return accountpostid; } //Id set { accountpostid = value; } //Id } #region OrganizationUnit 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; } } #endregion public DateTime AccountPostDate { get { return accountpostdate; } //Date set { accountpostdate = value; } //Date } #region Account 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; } } #endregion #region SubAccount 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; } } #endregion #region Period 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; } } #endregion private decimal closing; private decimal opening; private decimal debit; private decimal credit; public decimal Closing { get { return closing; } set { closing = 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 AccountPostDebit { get { return accountpostdebit; } //Debit set { accountpostdebit = value; } //Debit } public decimal AccountPostCredit { get { return accountpostcredit; } //Credit set { accountpostcredit = value; } //Credit } public decimal AccountPostOpening { get { return accountpostopening; } //Opening set { accountpostopening = value; } //Opening } public decimal AccountPostClosing { get { return accountpostclosing; } //Closing set { accountpostclosing = value; } //Closing } public decimal AccountPostProvisionalDebit { get { return accountpostprovisionaldebit; } //ProvisionalDebit set { accountpostprovisionaldebit = value; } //ProvisionalDebit } public decimal AccountPostProvisionalCredit { get { return accountpostprovisionalcredit; } //ProvisionalCredit set { accountpostprovisionalcredit = value; } //ProvisionalCredit } public decimal AccountPostProvisionalOpening { get { return accountpostprovisionalopening; } //ProvisionalOpening set { accountpostprovisionalopening = value; } //ProvisionalOpening } public decimal AccountPostProvisionalClosing { get { return accountpostprovisionalclosing; } //ProvisionalClosing set { accountpostprovisionalclosing = value; } //ProvisionalClosing } #endregion #endregion } }