Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRecoveryrecieveakts()
 {
     return $this->hasMany(Recoveryrecieveakt::className(), ['id_recoverysendakt' => 'recoverysendakt_id'])->from(['recoveryrecieveakts' => Recoveryrecieveakt::tableName()])->inverseOf('idRecoverysendakt');
 }
Example #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getIdRecoveryrecieveakt()
 {
     return $this->hasOne(Recoveryrecieveakt::className(), ['recoveryrecieveakt_id' => 'id_recoveryrecieveakt'])->from(['idRecoveryrecieveakt' => Recoveryrecieveakt::tableName()]);
 }