/** * @return \yii\db\ActiveQuery */ public function getCompanyFeed() { return $this->hasOne(EeCompanyFeed::className(), ['id' => 'company_feed_id']); }
/** * @return \yii\db\ActiveQuery */ public function getEeCompanyFeeds() { return $this->hasMany(EeCompanyFeed::className(), ['product_id' => 'id']); }