using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.MMHead { public class MMChargesDTOBDC { #region PrivateMembers #region MMCharges private int mmchargesid; //Id private int documentid; //Document private int documentdetailid; //DocumentDetail private int mmchargesslno; //SlNo #region Formula private int formulaid = -1; //Id private string formulacode; //Code private string formulaname; //Name private string formulaexpression; #endregion private decimal mmchargesinputvalue; //InputValue private int mmchargesinputtype; //InputType private decimal mmchargescalculatedon; //CalculatedOn private decimal mmchargescalculatedvalue; //CalculatedValue private decimal mmchargesamountplus; //AmountPlus private decimal mmchargesamountminus; //AmountMinus #region Charge Element private int chargedetailid; private int chargedetailformulaid; //Id private string chargedetailformulacode; //Code private string chargedetailformulaname; //Name private string chargedetailformulaexpression; private string chargedetailformulaprintingname; private string chargedetailchargenature; private decimal chargedetailoperationtype; private int chargedetailpartyaccounttype; private int chargedetailpartyaccountid; private string chargedetailpartyaccountcode; private string chargedetailpartyaccountname; private int chargedetailpartyaccountbillallocationtype; private int chargedetailcontraaccounttype; private int chargedetailcontraaccountid; private string chargedetailcontraaccountcode; private string chargedetailcontraaccountname; private int chargedetailcontraaccountbillallocationtype; private int chargedetailinputtype; private decimal chargedetaildefaultminimumvalue; private decimal chargedetaildefaultmaximumvalue; private decimal chargedetailincludeincost; private decimal chargedetailincludeinrealisation; private int chargedetaildependsonchargeelementid; private string chargedetaildependsonchargeelementcode; private string chargedetaildependsonchargeelementname; private int chargedetaildependsonchargeelementformulaid; private string chargedetaildependsonchargeelementformulaname; private string chargedetaildependsonchargeelementformulaexpression; private int chargedetailpartyaccountmerge; private int chargedetailcontraaccountmerge; #endregion private decimal mmchargesfccalculatedvalue; private int currencyid = -1; private string currencycode; private string currencyname; private decimal mmchargescurrencyconversion; private int partyaccountid = -1; private string partyaccountcode; private string partyaccountname; private int contraaccountid = -1; private string contraaccountcode; private string contraaccountname; private string mmchargesreason = "NONE"; //GCM private string mmchargesremarks = "1"; private int personid = -1; private string personcode; private string personname; private int itemid = -1; #endregion #endregion #region PublicMembers #region MMCharges public int MMChargesId { get { return mmchargesid; } //Id set { mmchargesid = value; } //Id } public int DocumentId { get { return documentid; } //Document set { documentid = value; } //Document } public int DocumentDetailId { get { return documentdetailid; } //DocumentDetail set { documentdetailid = value; } //DocumentDetail } public int MMChargesSlNo { get { return mmchargesslno; } //SlNo set { mmchargesslno = value; } //SlNo } #region Formula public int FormulaId { get { return formulaid; } set { formulaid = value; } } public string FormulaCode { get { return formulacode; } set { formulacode = value; } } public string FormulaName { get { return formulaname; } set { formulaname = value; } } public string FormulaExpression { get { return formulaexpression; } set { formulaexpression = value; } } #endregion public decimal MMChargesInputValue { get { return mmchargesinputvalue; } //InputValue set { mmchargesinputvalue = value; } //InputValue } public int MMChargesInputType { get { return mmchargesinputtype; } //InputType set { mmchargesinputtype = value; } //InputType } public decimal MMChargesCalculatedOn { get { return mmchargescalculatedon; } //CalculatedOn set { mmchargescalculatedon = value; } //CalculatedOn } public decimal MMChargesCalculatedValue { get { return mmchargescalculatedvalue; } //CalculatedValue set { mmchargescalculatedvalue = value; } //CalculatedValue } public decimal MMChargesAmountPlus { get { return mmchargesamountplus; } //AmountPlus set { mmchargesamountplus = value; } //AmountPlus } public decimal MMChargesAmountMinus { get { return mmchargesamountminus; } //AmountMinus set { mmchargesamountminus = value; } //AmountMinus } #region Charge Element public int ChargeDetailId { get { return chargedetailid; } //ChargeDetailId set { chargedetailid = value; } //ChargeDetailId } public int ChargeDetailFormulaId { get { return chargedetailformulaid; } set { chargedetailformulaid = value; } } public string ChargeDetailFormulaCode { get { return chargedetailformulacode; } set { chargedetailformulacode = value; } } public string ChargeDetailFormulaName { get { return chargedetailformulaname; } set { chargedetailformulaname = value; } } public string ChargeDetailFormulaExpression { get { return chargedetailformulaexpression; } set { chargedetailformulaexpression = value; } } public string ChargeDetailFormulaPrintingName { get { return chargedetailformulaprintingname; } set { chargedetailformulaprintingname = value; } } public string ChargeDetailChargeNature { get { return chargedetailchargenature; } //ChargeDetailId set { chargedetailchargenature = value; } //ChargeDetailId } public decimal ChargeDetailOperationType { get { return chargedetailoperationtype; } //AmountMinus set { chargedetailoperationtype = value; } //AmountMinus } public int ChargeDetailPartyAccountType { get { return chargedetailpartyaccounttype; } //PartyAccountType set { chargedetailpartyaccounttype = value; } //PartyAccountType } public int ChargeDetailPartyAccountId { get { return chargedetailpartyaccountid; } //Id set { chargedetailpartyaccountid = value; } //Id } public string ChargeDetailPartyAccountCode { get { return chargedetailpartyaccountcode; } //Code set { chargedetailpartyaccountcode = value; } //Code } public string ChargeDetailPartyAccountName { get { return chargedetailpartyaccountname; } //Name set { chargedetailpartyaccountname = value; } //Name } public int ChargeDetailPartyAccountBillAllocationType { get { return chargedetailpartyaccountbillallocationtype; } set { chargedetailpartyaccountbillallocationtype = value; } } public int ChargeDetailContraAccountType { get { return chargedetailcontraaccounttype; } //ContraAccountType set { chargedetailcontraaccounttype = value; } //ContraAccountType } public int ChargeDetailContraAccountId { get { return chargedetailcontraaccountid; } //Id set { chargedetailcontraaccountid = value; } //Id } public string ChargeDetailContraAccountCode { get { return chargedetailcontraaccountcode; } //Code set { chargedetailcontraaccountcode = value; } //Code } public string ChargeDetailContraAccountName { get { return chargedetailcontraaccountname; } //Name set { chargedetailcontraaccountname = value; } //Name } public int ChargeDetailContraAccountBillAllocationType { get { return chargedetailcontraaccountbillallocationtype; } set { chargedetailcontraaccountbillallocationtype = value; } } public int ChargeDetailInputType { get { return chargedetailinputtype; } set { chargedetailinputtype = value; } } public decimal ChargeDetailDefaultMinimumValue { get { return chargedetaildefaultminimumvalue; } set { chargedetaildefaultminimumvalue = value; } } public decimal ChargeDetailDefaultMaximumValue { get { return chargedetaildefaultmaximumvalue; } set { chargedetaildefaultmaximumvalue = value; } } public decimal ChargeDetailIncludeInCost { get { return chargedetailincludeincost; } set { chargedetailincludeincost = value; } } public decimal ChargeDetailIncludeInRealisation { get { return chargedetailincludeinrealisation; } set { chargedetailincludeinrealisation = value; } } public int ChargeDetailDependsOnChargeElementId { get { return chargedetaildependsonchargeelementid; } set { chargedetaildependsonchargeelementid = value; } } public string ChargeDetailDependsOnChargeElementCode { get { return chargedetaildependsonchargeelementcode; } set { chargedetaildependsonchargeelementcode = value; } } public string ChargeDetailDependsOnChargeElementName { get { return chargedetaildependsonchargeelementname; } set { chargedetaildependsonchargeelementname = value; } } public int ChargeDetailDependsOnChargeElementFormulaId { get { return chargedetaildependsonchargeelementformulaid; } set { chargedetaildependsonchargeelementformulaid = value; } } public string ChargeDetailDependsOnChargeElementFormulaName { get { return chargedetaildependsonchargeelementformulaname; } set { chargedetaildependsonchargeelementformulaname = value; } } public string ChargeDetailDependsOnChargeElementFormulaExpression { get { return chargedetaildependsonchargeelementformulaexpression; } set { chargedetaildependsonchargeelementformulaexpression = value; } } public int ChargeDetailPartyAccountMerge { get { return chargedetailpartyaccountmerge; } set { chargedetailpartyaccountmerge = value; } } public int ChargeDetailContraAccountMerge { get { return chargedetailcontraaccountmerge; } set { chargedetailcontraaccountmerge = value; } } #endregion public decimal MMChargesFCCalculatedValue { get { return mmchargesfccalculatedvalue; } //FCCalculatedValue set { mmchargesfccalculatedvalue = value; } //FCCalculatedValue } public int CurrencyId { get { return currencyid; } //Currency set { currencyid = value; } //Currency } public string CurrencyCode { get { return currencycode; } //Currency set { currencycode = value; } //Currency } public string CurrencyName { get { return currencyname; } //Currency set { currencyname = value; } //Currency } public decimal MMChargesCurrencyConversion { get { return mmchargescurrencyconversion; } //CurrencyConversion set { mmchargescurrencyconversion = value; } //CurrencyConversion } public int PartyAccountId { get { return partyaccountid; } //PartyAccount set { partyaccountid = value; } //PartyAccount } public string PartyAccountCode { get { return partyaccountcode; } //PartyAccount set { partyaccountcode = value; } //PartyAccount } public string PartyAccountName { get { return partyaccountname; } //PartyAccount set { partyaccountname = value; } //PartyAccount } public int ContraAccountId { get { return contraaccountid; } //ContraAccount set { contraaccountid = value; } //ContraAccount } public string ContraAccountCode { get { return contraaccountcode; } //ContraAccount set { contraaccountcode = value; } //ContraAccount } public string ContraAccountName { get { return contraaccountname; } //ContraAccount set { contraaccountname = value; } //ContraAccount } public string MMChargesReason { get { return mmchargesreason; } //Reason set { mmchargesreason = value; } //Reason } public string MMChargesRemarks { get { return mmchargesremarks; } //Remarks set { mmchargesremarks = value; } //Remarks } public int PersonId { get { return personid; } //Person set { personid = value; } //Person } public string PersonCode { get { return personcode; } //Person set { personcode = value; } //Person } public string PersonName { get { return personname; } //Person set { personname = value; } //Person } private int formualbasedformulaid; public int FormualBasedFormulaId { get { return formualbasedformulaid; } //Person set { formualbasedformulaid = value; } //Person } private string inputdatafieldtype; public string InputDataFieldType { get { return inputdatafieldtype; } //Person set { inputdatafieldtype = value; } //Person } public int ItemId { get { return itemid; } //Person set { itemid = value; } //Person } #endregion #endregion } }