コード例 #1
0
 public CommissionSchemeEntry( int nPriorityID, int nFitnessPackageBranchTargetPercent, int nFitnessProductBranchTargetPercent, int nSpaPackageBranchTargetPercent, int nSpaProductBranchTargetPercent, int nPTPackageBranchTargetPercent, int nFitnessPackageIndTargetPercent, int nFitnessProductIndTargetPercent, int nSpaPackageIndTargetPercent, int nSpaProductIndTargetPercent, int nPTPackageIndTargetPercent, int nFitnessPackageBranchExcess, int nFitnessProductBranchExcess, int nSpaPackageBranchExcess, int nSpaProductBranchExcess, int nPTPackageBranchExcess, int nFitnessPackageIndExcess, int nFitnessProductIndExcess, int nSpaPackageIndExcess, int nSpaProductIndExcess, int nPTPackageIndExcess, int nBranchPercentComm, int nBranchPercentSharedComm, int nIndPercentComm, decimal mCommissionAmount, CommissionScheme commissionScheme )
 {
     this._nPriorityID = nPriorityID;
     this._nFitnessPackageBranchTargetPercent = nFitnessPackageBranchTargetPercent;
     this._nFitnessProductBranchTargetPercent = nFitnessProductBranchTargetPercent;
     this._nSpaPackageBranchTargetPercent = nSpaPackageBranchTargetPercent;
     this._nSpaProductBranchTargetPercent = nSpaProductBranchTargetPercent;
     this._nPTPackageBranchTargetPercent = nPTPackageBranchTargetPercent;
     this._nFitnessPackageIndTargetPercent = nFitnessPackageIndTargetPercent;
     this._nFitnessProductIndTargetPercent = nFitnessProductIndTargetPercent;
     this._nSpaPackageIndTargetPercent = nSpaPackageIndTargetPercent;
     this._nSpaProductIndTargetPercent = nSpaProductIndTargetPercent;
     this._nPTPackageIndTargetPercent = nPTPackageIndTargetPercent;
     this._nFitnessPackageBranchExcess = nFitnessPackageBranchExcess;
     this._nFitnessProductBranchExcess = nFitnessProductBranchExcess;
     this._nSpaPackageBranchExcess = nSpaPackageBranchExcess;
     this._nSpaProductBranchExcess = nSpaProductBranchExcess;
     this._nPTPackageBranchExcess = nPTPackageBranchExcess;
     this._nFitnessPackageIndExcess = nFitnessPackageIndExcess;
     this._nFitnessProductIndExcess = nFitnessProductIndExcess;
     this._nSpaPackageIndExcess = nSpaPackageIndExcess;
     this._nSpaProductIndExcess = nSpaProductIndExcess;
     this._nPTPackageIndExcess = nPTPackageIndExcess;
     this._nBranchPercentComm = nBranchPercentComm;
     this._nBranchPercentSharedComm = nBranchPercentSharedComm;
     this._nIndPercentComm = nIndPercentComm;
     this._mCommissionAmount = mCommissionAmount;
     this._commissionScheme = commissionScheme;
 }
コード例 #2
0
 public CommissionSchemeEntry(int nPriorityID, int nFitnessPackageBranchTargetPercent, int nFitnessProductBranchTargetPercent, int nSpaPackageBranchTargetPercent, int nSpaProductBranchTargetPercent, int nPTPackageBranchTargetPercent, int nFitnessPackageIndTargetPercent, int nFitnessProductIndTargetPercent, int nSpaPackageIndTargetPercent, int nSpaProductIndTargetPercent, int nPTPackageIndTargetPercent, int nFitnessPackageBranchExcess, int nFitnessProductBranchExcess, int nSpaPackageBranchExcess, int nSpaProductBranchExcess, int nPTPackageBranchExcess, int nFitnessPackageIndExcess, int nFitnessProductIndExcess, int nSpaPackageIndExcess, int nSpaProductIndExcess, int nPTPackageIndExcess, int nBranchPercentComm, int nBranchPercentSharedComm, int nIndPercentComm, decimal mCommissionAmount, CommissionScheme commissionScheme)
 {
     this._nPriorityID = nPriorityID;
     this._nFitnessPackageBranchTargetPercent = nFitnessPackageBranchTargetPercent;
     this._nFitnessProductBranchTargetPercent = nFitnessProductBranchTargetPercent;
     this._nSpaPackageBranchTargetPercent     = nSpaPackageBranchTargetPercent;
     this._nSpaProductBranchTargetPercent     = nSpaProductBranchTargetPercent;
     this._nPTPackageBranchTargetPercent      = nPTPackageBranchTargetPercent;
     this._nFitnessPackageIndTargetPercent    = nFitnessPackageIndTargetPercent;
     this._nFitnessProductIndTargetPercent    = nFitnessProductIndTargetPercent;
     this._nSpaPackageIndTargetPercent        = nSpaPackageIndTargetPercent;
     this._nSpaProductIndTargetPercent        = nSpaProductIndTargetPercent;
     this._nPTPackageIndTargetPercent         = nPTPackageIndTargetPercent;
     this._nFitnessPackageBranchExcess        = nFitnessPackageBranchExcess;
     this._nFitnessProductBranchExcess        = nFitnessProductBranchExcess;
     this._nSpaPackageBranchExcess            = nSpaPackageBranchExcess;
     this._nSpaProductBranchExcess            = nSpaProductBranchExcess;
     this._nPTPackageBranchExcess             = nPTPackageBranchExcess;
     this._nFitnessPackageIndExcess           = nFitnessPackageIndExcess;
     this._nFitnessProductIndExcess           = nFitnessProductIndExcess;
     this._nSpaPackageIndExcess     = nSpaPackageIndExcess;
     this._nSpaProductIndExcess     = nSpaProductIndExcess;
     this._nPTPackageIndExcess      = nPTPackageIndExcess;
     this._nBranchPercentComm       = nBranchPercentComm;
     this._nBranchPercentSharedComm = nBranchPercentSharedComm;
     this._nIndPercentComm          = nIndPercentComm;
     this._mCommissionAmount        = mCommissionAmount;
     this._commissionScheme         = commissionScheme;
 }
コード例 #3
0
 public void AddCommissionScheme(CommissionScheme commissionScheme)
 {
     commissionScheme.SalesCategory = this;
     _commissionSchemes.Add(commissionScheme);
 }
コード例 #4
0
 public EmployeeCommissionScheme(CommissionScheme commissionScheme, Employee employee)
 {
     this._commissionScheme = commissionScheme;
     this._employee         = employee;
 }
コード例 #5
0
ファイル: SalesCategory.cs プロジェクト: kimykunjun/test
 public void AddCommissionScheme(CommissionScheme commissionScheme)
 {
     commissionScheme.SalesCategory = this;
     _commissionSchemes.Add(commissionScheme);
 }