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