/** * @return \yii\db\ActiveQuery */ public function getDictionary() { return $this->hasOne(Dictionary::className(), ['id' => 'dictionary_id']); }