/** * @return \yii\db\ActiveQuery */ public function getMeal() { return $this->hasOne(Meal::className(), ['meal_id' => 'meal_id']); }