Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getFaculty()
 {
     return $this->hasOne(Faculty::className(), ['id' => 'faculty_id']);
 }