Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getDocuments()
 {
     return $this->hasMany(OrderServiceObjectFiles::className(), ['order_service_id' => 'id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOrderServiceObjectFiles()
 {
     return $this->hasMany(OrderServiceObjectFiles::className(), ['file_id' => 'id']);
 }