public function setQuantityAttribute($iQuantity)
    {
        $iQuantity = (int) $iQuantity;
        if (empty($iQuantity) || $iQuantity < 0) {
            $iQuantity = 0;
        }

        $this->attributes['quantity'] = $iQuantity;
    }