Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeOrders()
 {
     return $this->hasMany(EeOrders::className(), ['marketplace_id' => 'id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOrder()
 {
     return $this->hasOne(EeOrders::className(), ['id' => 'order_id']);
 }