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