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