/** * @return \yii\db\ActiveQuery */ public function getPartner() { return $this->hasOne(EeMarketplaces::className(), ['id' => 'partner_id']); }
/** * @return \yii\db\ActiveQuery */ public function getMarketplace() { return $this->hasOne(EeMarketplaces::className(), ['id' => 'marketplace_id']); }
/** * @return \yii\db\ActiveQuery */ public function getEeMarketplaces() { return $this->hasMany(EeMarketplaces::className(), ['c_id' => 'c_id']); }