public function getCategories() { return $this->hasMany(DbSubscriptionCategory::className(), ['subscription_id' => 'id']); }