예제 #1
0
파일: Package.cs 프로젝트: kimykunjun/test
 public Package( string strDescription, string strReceiptDesc, decimal mListPrice, int nMaxSession, int nPackageDuration, decimal mBaseUnitPrice, DateTime dtValidStart, DateTime dtValidEnd, bool fPeak, int nValidMonths, int nWarrantyMonths, bool fGIRO, bool fNoRestrictionUpgrade, int nStatus, Category category )
 {
     this._strDescription = strDescription;
     this._strReceiptDesc = strReceiptDesc;
     this._mListPrice = mListPrice;
     this._nMaxSession = nMaxSession;
     this._nPackageDuration = nPackageDuration;
     this._mBaseUnitPrice = mBaseUnitPrice;
     this._dtValidStart = dtValidStart;
     this._dtValidEnd = dtValidEnd;
     this._fPeak = fPeak;
     this._nValidMonths = nValidMonths;
     this._nWarrantyMonths = nWarrantyMonths;
     this._fGIRO = fGIRO;
     this._fNoRestrictionUpgrade = fNoRestrictionUpgrade;
     this._nStatus = nStatus;
     this._category = category;
 }
예제 #2
0
파일: Receipt.cs 프로젝트: kimykunjun/test
 public Receipt( DateTime dtDate, int nShiftID, int nTerminalID, decimal mNettAmount, decimal mGSTAmount, decimal mTotalAmount, decimal mVoucherAmount, bool fVoid, string strReferenceNo, string strParentReceiptNo, string strChildReceiptNo, Branch branch, Category category, Employee employeenSalespersonID, Employee employeenCashierID, Employee employeenTherapistID, Member member, Promotion promotionstrDiscountCode, Promotion promotionstrFreebieCode, Reward reward, Tax tax )
 {
     this._dtDate = dtDate;
     this._nShiftID = nShiftID;
     this._nTerminalID = nTerminalID;
     this._mNettAmount = mNettAmount;
     this._mGSTAmount = mGSTAmount;
     this._mTotalAmount = mTotalAmount;
     this._mVoucherAmount = mVoucherAmount;
     this._fVoid = fVoid;
     this._strReferenceNo = strReferenceNo;
     this._strParentReceiptNo = strParentReceiptNo;
     this._strChildReceiptNo = strChildReceiptNo;
     this._branch = branch;
     this._category = category;
     this._employeenSalespersonID = employeenSalespersonID;
     this._employeenCashierID = employeenCashierID;
     this._employeenTherapistID = employeenTherapistID;
     this._member = member;
     this._promotionstrDiscountCode = promotionstrDiscountCode;
     this._promotionstrFreebieCode = promotionstrFreebieCode;
     this._reward = reward;
     this._tax = tax;
 }
예제 #3
0
 public void AddCategory(Category category)
 {
     category.SalesCategory = this;
     _categories.Add(category);
 }