/** * @return \yii\db\ActiveQuery */ public function getRaptor() { return $this->hasOne(Raptor::className(), ['id' => 'raptor_id']); }
/** * @return \yii\db\ActiveQuery */ public function getIncident() { return $this->hasOne(Raptor::className(), ['id' => 'incident_id']); }