public function afterDelete() { parent::afterDelete(); Price::deleteAll(["product_id" => $this->id]); return false; }