Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProductEbayListings()
 {
     return $this->hasMany(ProductEbayListing::className(), ['sku' => 'sku']);
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProductEbayListings()
 {
     return $this->hasMany(ProductEbayListing::className(), ['ebay_account_id' => 'id']);
 }