using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.PreVoucher { public class PreVoucherDetailDTO { #region PrivateMembers #region PreVoucher private int prevoucherdetailid; //Id private Int16 prevoucherdetailslno; //SlNo #region Account private int accountid = -1; //Id private string accountcode; //Code private string accountname; //Name #endregion #region Account private int subaccountid = -1; //Id private string subaccountcode; //Code private string subaccountname; //Name #endregion private byte prevoucherdetaildetailtype; //DetailType private byte prevoucherdetailamounttype; //AmountType private double prevoucherdetailamountfc; //AmountFC #region Currency private int currencyid = -1; //Id private string currencycode; //Code private string currencyname; //Name #endregion private double prevoucherdetailcurrencyconversion; //CurrencyConversion private byte prevoucherdetailcurrencyconversiontype; //CurrencyConversionType private double prevoucherdetailamount; //Amount #region OrganizationUnit private int interouid = -1; //Id private string interoucode; //Code private string interouname; //Name #endregion #region Account private int interaccountid = -1; //Id private string interaccountcode; //Code private string interaccountname; //Name #endregion #region Account private int intersubaccountid = -1; //Id private string intersubaccountcode; //Code private string intersubaccountname; //Name #endregion private string prevoucherdetaildetailnarration = ""; //DetailNarration #region CostCenterPattern private int costcenterpatternid = -1; //Id #endregion #endregion #endregion #region PublicMembers #region PreVoucher public int PreVoucherDetailId { get { return prevoucherdetailid; } //Id set { prevoucherdetailid = value; } //Id } public Int16 PreVoucherDetailSlNo { get { return prevoucherdetailslno; } //SlNo set { prevoucherdetailslno = value; } //SlNo } #region Account public int AccountId { get { return accountid; } //Id set { accountid = value; } //Id } public string AccountCode { get { return accountcode; } //Code set { accountcode = value; } //Code } public string AccountName { get { return accountname; } //Name set { accountname = value; } //Name } #endregion #region Account public int SubAccountId { get { return subaccountid; } //Id set { subaccountid = value; } //Id } public string SubAccountCode { get { return subaccountcode; } //Code set { subaccountcode = value; } //Code } public string SubAccountName { get { return subaccountname; } //Name set { subaccountname = value; } //Name } #endregion public byte PreVoucherDetailDetailType { get { return prevoucherdetaildetailtype; } //DetailType set { prevoucherdetaildetailtype = value; } //DetailType } public byte PreVoucherDetailAmountType { get { return prevoucherdetailamounttype; } //AmountType set { prevoucherdetailamounttype = value; } //AmountType } public double PreVoucherDetailAmountFC { get { return prevoucherdetailamountfc; } //AmountFC set { prevoucherdetailamountfc = value; } //AmountFC } #region Currency public int CurrencyId { get { return currencyid; } //Id set { currencyid = value; } //Id } public string CurrencyCode { get { return currencycode; } //Code set { currencycode = value; } //Code } public string CurrencyName { get { return currencyname; } //Name set { currencyname = value; } //Name } #endregion public double PreVoucherDetailCurrencyConversion { get { return prevoucherdetailcurrencyconversion; } //CurrencyConversion set { prevoucherdetailcurrencyconversion = value; } //CurrencyConversion } public byte PreVoucherDetailCurrencyConversionType { get { return prevoucherdetailcurrencyconversiontype; } //CurrencyConversionType set { prevoucherdetailcurrencyconversiontype = value; } //CurrencyConversionType } public double PreVoucherDetailAmount { get { return prevoucherdetailamount; } //Amount set { prevoucherdetailamount = value; } //Amount } #region OrganizationUnit public int InterOuId { get { return interouid; } //Id set { interouid = value; } //Id } public string InterOuCode { get { return interoucode; } //Code set { interoucode = value; } //Code } public string InterOuName { get { return interouname; } //Name set { interouname = value; } //Name } #endregion #region Account public int InterAccountId { get { return interaccountid; } //Id set { interaccountid = value; } //Id } public string InterAccountCode { get { return interaccountcode; } //Code set { interaccountcode = value; } //Code } public string InterAccountName { get { return interaccountname; } //Name set { interaccountname = value; } //Name } #endregion #region Account public int InterSubAccountId { get { return intersubaccountid; } //Id set { intersubaccountid = value; } //Id } public string InterSubAccountCode { get { return intersubaccountcode; } //Code set { intersubaccountcode = value; } //Code } public string InterSubAccountName { get { return intersubaccountname; } //Name set { intersubaccountname = value; } //Name } #endregion public string PreVoucherDetailDetailNarration { get { return prevoucherdetaildetailnarration; } //DetailNarration set { prevoucherdetaildetailnarration = value; } //DetailNarration } #region CostCenterPattern public int CostCenterPatternId { get { return costcenterpatternid; } //Id set { costcenterpatternid = value; } //Id } #endregion #endregion #endregion } }