/**
  * Exclude object from result
  *
  * @param   ChildDigressivePrice $digressivePrice Object to remove from the list of results
  *
  * @return ChildDigressivePriceQuery The current query, for fluid interface
  */
 public function prune($digressivePrice = null)
 {
     if ($digressivePrice) {
         $this->addUsingAlias(DigressivePriceTableMap::ID, $digressivePrice->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
 /**
  * @param DigressivePriceEvent $event
  * @throws \Exception
  * @throws \Propel\Runtime\Exception\PropelException
  */
 public function createDigressivePrice(DigressivePriceEvent $event)
 {
     $digressivePrice = new DigressivePrice();
     $digressivePrice->setProductId($event->getProductId())->setPrice($event->getPrice())->setPromoPrice($event->getPromoPrice())->setQuantityFrom($event->getQuantityFrom())->setQuantityTo($event->getQuantityTo())->save();
 }