using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Account { public class AccountCustomDTO { #region private members private int accountid; private string accountcode; private string accountname; private int accountgroupid; private string accountfavouringname; private int currencyid; private string currencycode; private byte accountgroupaccountgroupaccountschedulenature; private int tdscategoryid; private string tdscategoryname; private byte accountistdsapplicable; private byte accounttype; private byte accountbillallocationtype; private int costcenterentries = 0; #endregion #region public members 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 AccountGroupId { get { return accountgroupid; } set { accountgroupid = value; } } public string AccountFavouringName { get { return accountfavouringname; } set { accountfavouringname = value; } } public int CurrencyId { get { return currencyid; } set { currencyid = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public byte AccountGroupAccountGroupAccountScheduleNature { get { return accountgroupaccountgroupaccountschedulenature; } set { accountgroupaccountgroupaccountschedulenature = value; } } public int TDSCategoryId { get { return tdscategoryid; } set { tdscategoryid = value; } } public string TDSCategoryName { get { return tdscategoryname; } set { tdscategoryname = value; } } public byte AccountIsTDSApplicable { get { return accountistdsapplicable; } set { accountistdsapplicable = value; } } public byte AccountType { get { return accounttype; } set { accounttype = value; } } public byte AccountBillAllocationType { get { return accountbillallocationtype; } set { accountbillallocationtype = value; } } //public List TDSCategoryDTO //{ // get { return tdscategorydto; } // set { tdscategorydto = value; } //} public int CostCenterEntries { get { return costcenterentries; } set { costcenterentries = value; } } private decimal accountcreditlimit; public decimal AccountCreditLimit { get { return accountcreditlimit; } set { accountcreditlimit = value; } } private int gainaccountid = -1; private string gainaccountcode; private string gainaccountname; private int lossaccountid = -1; private string lossaccountcode; private string lossaccountname; public int GainAccountId { get { return gainaccountid; } //gainaccountid set { gainaccountid = value; } //gainaccountid } public string GainAccountCode { get { return gainaccountcode; } //gainaccountid set { gainaccountcode = value; } //gainaccountid } public string GainAccountName { get { return gainaccountname; } //gainaccountname set { gainaccountname = value; } //gainaccountname } public int LossAccountId { get { return lossaccountid; } //gainaccountid set { lossaccountid = value; } //gainaccountid } public string LossAccountCode { get { return lossaccountcode; } //gainaccountid set { lossaccountcode = value; } //gainaccountid } public string LossAccountName { get { return lossaccountname; } //gainaccountname set { lossaccountname = value; } //gainaccountname } //private List accountpostdtos = new List(); //public List AccountPostDTOs //{ // get { return accountpostdtos; } //AccountPostDTOs // set { accountpostdtos = value; } //AccountPostDTOs //} #endregion } }