/** * @return \yii\db\ActiveQuery */ public function getCmsShows() { return $this->hasMany(CmsShow::className(), ['catalog_id' => 'id']); }