Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEntpProducts()
 {
     return $this->hasMany(EntpProduct::className(), ['entrepreneur_user_id' => 'user_id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEntpProducts()
 {
     return $this->hasMany(EntpProduct::className(), ['product_id' => 'id']);
 }