using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Voucher { public class VoucherDetailDTO { #region PrivateMembers #region VoucherDetail private int voucherdetailid; //Id #region Voucher private int voucherid = -1; private string vouchervouchernumber; #endregion private Int16 voucherdetailslno; //Slno #region VoucherAccount private int voucheraccountid = -1; private string voucheraccountcode; private string voucheraccountname; private int voucheraccounttype; private byte voucheraccountbillallocationtype; private int voucheraccountaccountgroupid = -1; private byte voucheraccountaccountgroupaccountgroupaccountschedulenature; private byte voucheraccountistdsapplicable = 1; private int voucherdeducationaccountid = -1; private int vouchersufferedaccountid = -1; private int voucherpaidaccountid = -1; private int voucherclaimedaccountid = -1; #endregion #region SubAccount private int subaccountid = -1; private string subaccountcode; private string subaccountname; #endregion private double voucherdetailamountfc; //AmountFC private double voucherdetailcurrencyconversion = 1; //CurrencyConversion private double voucherdetailamount; //Amount #region OrganizationUnit private int interouid = -1; //Id private string interoucode; //Code private string interouname; //Name #endregion #region InterAccount private int interaccountid = -1; private string interaccountcode; private string interaccountname; #endregion #region InterSubAccount private int intersubaccountid = -1; private string intersubaccountcode; private string intersubaccountname; #endregion #region InterVoucher private int intervoucherid = -1; private string intervouchervouchernumber; #endregion #region ParameterSet private int parametersetid = -1; private string parametersetcode; private string parametersetname; #endregion private string voucherdetailvoucherlinenarration; //VoucherLineNarration private byte voucherdetaildetailtype; // VoucherDetailDetailType #region Currency private int currencyid = -1; private string currencycode; private string currencyname; #endregion private string partymailid; private int voucherdetailcostcenterapplicable = 1; private List voucherbillallocationarray = new List(); private List vouchercostcenterarray = new List(); private List voucherinstrumentarray = new List(); private List voucherdetailaddonarray = new List(); private List vouchertdsarray = new List(); private List voucherdetailparameterarray = new List(); #endregion #endregion #region PublicMembers #region VoucherDetail public int VoucherDetailId { get { return voucherdetailid; } //Id set { voucherdetailid = value; } //Id } #region Voucher public int VoucherId { get { return voucherid; } //VoucherId set { voucherid = value; } //VoucherId } public string VoucherVoucherNumber { get { return vouchervouchernumber; } //VoucherVoucherNumber set { vouchervouchernumber = value; } //VoucherVoucherNumber } #endregion public Int16 VoucherDetailSlno { get { return voucherdetailslno; } //Slno set { voucherdetailslno = value; } //Slno } #region VoucherAccount public int VoucherAccountId { get { return voucheraccountid; } //VoucherAccountId set { voucheraccountid = value; } //VoucherAccountId } public string VoucherAccountCode { get { return voucheraccountcode; } //VoucherAccountCode set { voucheraccountcode = value; } //VoucherAccountCode } public string VoucherAccountName { get { return voucheraccountname; } //VoucherAccountName set { voucheraccountname = value; } //VoucherAccountName } public int VoucherAccountType { get { return voucheraccounttype; } //VoucherAccountType set { voucheraccounttype = value; } //VoucherAccountType } public byte VoucherAccountBillAllocationType { get { return voucheraccountbillallocationtype; } //VoucherAccountBillAllocationType set { voucheraccountbillallocationtype = value; } //VoucherAccountBillAllocationType } public int VoucherAccountAccountGroupId { get { return voucheraccountaccountgroupid; } //VoucherAccountAccountGroupId set { voucheraccountaccountgroupid = value; } //VoucherAccountAccountGroupId } public byte VoucherAccountAccountGroupAccountGroupAccountScheduleNature { get { return voucheraccountaccountgroupaccountgroupaccountschedulenature; } //VoucherAccountAccountGroupNature set { voucheraccountaccountgroupaccountgroupaccountschedulenature = value; } //VoucherAccountAccountGroupNature } public byte VoucherAccountIsTDSApplicable { get { return voucheraccountistdsapplicable; } //VoucherAccountIsTDSApplicable set { voucheraccountistdsapplicable = value; } //VoucherAccountIsTDSApplicable } public int VoucherDeducationAccountId { get { return voucherdeducationaccountid; } //VoucherDeducationAccountId set { voucherdeducationaccountid = value; } //VoucherDeducationAccountId } public int VoucherSufferedAccountId { get { return vouchersufferedaccountid; } //VoucherSufferedAccountId set { vouchersufferedaccountid = value; } //VoucherSufferedAccountId } public int VoucherPaidAccountId { get { return voucherpaidaccountid; } //VoucherPaidAccountId set { voucherpaidaccountid = value; } //VoucherPaidAccountId } public int VoucherClaimedAccountId { get { return voucherclaimedaccountid; } //VoucherClaimedAccountId set { voucherclaimedaccountid = value; } //VoucherClaimedAccountId } #endregion #region SubAccount public int SubAccountId { get { return subaccountid; } //SubAccountId set { subaccountid = value; } //SubAccountId } public string SubAccountCode { get { return subaccountcode; } //SubAccountCode set { subaccountcode = value; } //SubAccountCode } public string SubAccountName { get { return subaccountname; } //SubAccountName set { subaccountname = value; } //SubAccountName } #endregion public double VoucherDetailAmountFC { get { return voucherdetailamountfc; } //AmountFC set { voucherdetailamountfc = value; } //AmountFC } public double VoucherDetailCurrencyConversion { get { return voucherdetailcurrencyconversion; } //CurrencyConversion set { voucherdetailcurrencyconversion = value; } //CurrencyConversion } public double VoucherDetailAmount { get { return voucherdetailamount; } //Amount set { voucherdetailamount = 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 InterAccount public int InterAccountId { get { return interaccountid; } //InterAccountId set { interaccountid = value; } //InterAccountId } public string InterAccountCode { get { return interaccountcode; } //InterAccountCode set { interaccountcode = value; } //InterAccountCode } public string InterAccountName { get { return interaccountname; } //InterAccountName set { interaccountname = value; } //InterAccountName } #endregion #region Account public int InterSubAccountId { get { return intersubaccountid; } //InterSubAccountId set { intersubaccountid = value; } //InterSubAccountId } public string InterSubAccountCode { get { return intersubaccountcode; } //InterSubAccountCode set { intersubaccountcode = value; } //InterSubAccountCode } public string InterSubAccountName { get { return intersubaccountname; } //InterSubAccountName set { intersubaccountname = value; } //InterSubAccountName } #endregion #region Voucher public int InterVoucherId { get { return intervoucherid; } //InterVoucherId set { intervoucherid = value; } //InterVoucherId } public string InterVoucherVoucherNumber { get { return intervouchervouchernumber; } //InterVoucherVoucherNumber set { intervouchervouchernumber = value; } //InterVoucherVoucherNumber } #endregion #region Parameter public int ParameterSetId { get { return parametersetid; } //ParameterSetId set { parametersetid = value; } //ParameterSetId } public string ParameterSetCode { get { return parametersetcode; } //ParameterSetCode set { parametersetcode = value; } //ParameterSetCode } public string ParameterSetName { get { return parametersetname; } //ParameterSetName set { parametersetname = value; } //ParameterSetName } #endregion public string VoucherDetailVoucherLineNarration { get { return voucherdetailvoucherlinenarration; } //VoucherLineNarration set { voucherdetailvoucherlinenarration = value; } //VoucherLineNarration } public byte VoucherDetailDetailType { get { return voucherdetaildetailtype; } //VoucherDetailDetailType set { voucherdetaildetailtype = value; } //VoucherDetailDetailType } #region Currency public int CurrencyId { get { return currencyid; } //CurrencyId set { currencyid = value; } //CurrencyId } public string CurrencyCode { get { return currencycode; } //CurrencyCode set { currencycode = value; } //CurrencyCode } public string CurrencyName { get { return currencyname; } //CurrencyName set { currencyname = value; } //CurrencyName } #endregion public int VoucherDetailCostCenterApplicable { get { return voucherdetailcostcenterapplicable; } //VoucherDetailCostCenterApplicable set { voucherdetailcostcenterapplicable = value; } //VoucherDetailCostCenterApplicable } public List VoucherBillAllocationArray { get { return voucherbillallocationarray; } //VoucherBillAllocationArray set { voucherbillallocationarray = value; } //VoucherBillAllocationArray } public List VoucherCostCenterArray { get { return vouchercostcenterarray; } //VoucherCostCenterArray set { vouchercostcenterarray = value; } //VoucherCostCenterArray } public List VoucherInstrumentArray { get { return voucherinstrumentarray; } //VoucherInstrumnentArray set { voucherinstrumentarray = value; } //VoucherInstrumnentArray } public List VoucherDetailAddonArray { get { return voucherdetailaddonarray; } //VoucherdetailAddonArray set { voucherdetailaddonarray = value; } //VoucherdetailAddonArray } public List VoucherTDSArray { get { return vouchertdsarray; } //VoucherTDSArray set { vouchertdsarray = value; } //VoucherTDSArray } public List VoucherDetailParameterArray { get { return voucherdetailparameterarray; } set { voucherdetailparameterarray = value; } } private string payconfigurationheadname = ""; public string PayConfigurationHeadName { get { return payconfigurationheadname; } //PayConfigurationHeadName set { payconfigurationheadname = value; } //PayConfigurationHeadName } private int isdebitmerge = 1; private int iscreditmerge = 1; public int IsDebitMerge { get { return isdebitmerge; } //IsDebitMerge set { isdebitmerge = value; } //IsDebitMerge } public int IsCreditMerge { get { return iscreditmerge; } //IsCreditMerge set { iscreditmerge = value; } //IsCreditMerge } private DateTime voucherdetailvoucherdate = DateTime.Now; private DateTime voucherdetailvalidtilldate = DateTime.Now; public DateTime VoucherDetailVoucherDate { get { return voucherdetailvoucherdate; } //IsCreditMerge set { voucherdetailvoucherdate = value; } //IsCreditMerge } public DateTime VoucherDetailValidTillDate { get { return voucherdetailvalidtilldate; } //IsCreditMerge set { voucherdetailvalidtilldate = value; } //IsCreditMerge } #endregion private string mailid; public string MailId { get { return mailid; } //IsCreditMerge set { mailid = value; } //IsCreditMerge } public string PartyMailId { get { return partymailid; } set { partymailid = value; } } private int accurrencyid = -1; private string accurrencycode; private string accurrencyname; private double voucherdetailaccurrencyconversion = 1; private double voucherdetailvoucheramountac; public int AcCurrencyId { get { return accurrencyid; } //ValidTillDate set { accurrencyid = value; } //ValidTillDate } public string AcCurrencyCode { get { return accurrencycode; } //ValidTillDate set { accurrencycode = value; } //ValidTillDate } public string AcCurrencyName { get { return accurrencyname; } //ValidTillDate set { accurrencyname = value; } //ValidTillDate } public double VoucherDetailAcCurrencyConversion { get { return voucherdetailaccurrencyconversion; } //ValidTillDate set { voucherdetailaccurrencyconversion = value; } //ValidTillDate } public double VoucherDetailVoucherAmountAc { get { return voucherdetailvoucheramountac; } //ValidTillDate set { voucherdetailvoucheramountac = value; } //ValidTillDate } #region private DateTime vouchervoucherdate; private string voucherreferencenumber; //ReferenceNumber private DateTime voucherreferencedate; private string vouchernarration = ""; //Narration public DateTime VoucherVoucherDate { get { return vouchervoucherdate; } //VoucherVoucherDate set { vouchervoucherdate = value; } //VoucherVoucherDate } public string VoucherReferenceNumber { get { return voucherreferencenumber; } //VoucherReferenceNumber set { voucherreferencenumber = value; } //VoucherReferenceNumber } public DateTime VoucherReferenceDate { get { return voucherreferencedate; } //VoucherReferenceDate set { voucherreferencedate = value; } //VoucherReferenceDate } public string VoucherNarration { get { return vouchernarration; } //VoucherNarration set { vouchernarration = value; } //VoucherNarration } private int biztransactiontypeid = -1; public int BizTransactionTypeId { get { return biztransactiontypeid; } //BizTransactionTypeId set { biztransactiontypeid = value; } //BizTransactionTypeId } #endregion private int ismaterialaccount = 1; public int IsMaterialAccount { get { return ismaterialaccount; } //ismaterialaccount set { ismaterialaccount = value; } //ismaterialaccount } private string debitamount = ""; private string creditamount = ""; private string debitamountfc = ""; private string creditamountfc = ""; public string DebitAmount { get { return debitamount; } set { debitamount = value; } } public string CreditAmount { get { return creditamount; } set { creditamount = value; } } public string DebitAmountFC { get { return debitamountfc; } set { debitamountfc = value; } } public string CreditAmountFC { get { return creditamountfc; } set { creditamountfc = value; } } private int prevoucherscheduleid = -1; public int PreVoucherScheduleId { get { return prevoucherscheduleid; } set { prevoucherscheduleid = value; } } private int l1id = -1; private string l1code; private string l1name; private int l2id = -1; private string l2code; private string l2name; private int l3id = -1; private string l3code; private string l3name; private int l4id = -1; private string l4code; private string l4name; private int l5id = -1; private string l5code; private string l5name; public int L1Id { get { return l1id; } set { l1id = value; } } public string L1Code { get { return l1code; } set { l1code = value; } } public string L1Name { get { return l1name; } set { l1name = value; } } public int L2Id { get { return l2id; } set { l2id = value; } } public string L2Code { get { return l2code; } set { l2code = value; } } public string L2Name { get { return l2name; } set { l2name = value; } } public int L3Id { get { return l3id; } set { l3id = value; } } public string L3Code { get { return l3code; } set { l3code = value; } } public string L3Name { get { return l3name; } set { l3name = value; } } public int L4Id { get { return l4id; } set { l4id = value; } } public string L4Code { get { return l4code; } set { l4code = value; } } public string L4Name { get { return l4name; } set { l4name = value; } } public int L5Id { get { return l5id; } set { l5id = value; } } public string L5Code { get { return l5code; } set { l5code = value; } } public string L5Name { get { return l5name; } set { l5name = value; } } private int costcenterid = -1; private string costcentercode; private string costcentername; public int CostCenterId { get { return costcenterid; } set { costcenterid = value; } } public string CostCenterCode { get { return costcentercode; } set { costcentercode = value; } } public string CostCenterName { get { return costcentername; } set { costcentername = value; } } private int allocationid = -1; private string allocationname; private string allocationdescription; private string allocationshortname; private int allocationtypeid = -1; private string allocationtypecode; private string allocationtypename; public int AllocationId { get { return allocationid; } set { allocationid = value; } } public string AllocationName { get { return allocationname; } set { allocationname = value; } } public string AllocationDescription { get { return allocationdescription; } set { allocationdescription = value; } } public string AllocationShortName { get { return allocationshortname; } set { allocationshortname = value; } } public int AllocationTypeId { get { return allocationtypeid; } set { allocationtypeid = value; } } public string AllocationTypeCode { get { return allocationtypecode; } set { allocationtypecode = value; } } public string AllocationTypeName { get { return allocationtypename; } set { allocationtypename = value; } } private int voucheraccounttdscategoryid = -1; private string voucheraccounttdscategoryname; public int VoucherAccountTDSCategoryId { get { return voucheraccounttdscategoryid; } set { voucheraccounttdscategoryid = value; } } public string VoucherAccountTDSCategoryName { get { return voucheraccounttdscategoryname; } set { voucheraccounttdscategoryname = value; } } private int tempaccounttype = 2; public int TempAccountType { get { return tempaccounttype; } set { tempaccounttype = value; } } #endregion } }