/** * @return \yii\db\ActiveQuery */ public function getTags() { return $this->hasMany(CsTags::className(), ['lang_code' => 'code']); }