Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPatientRoom()
 {
     return $this->hasOne(Room::className(), ['room_id' => 'patient_room']);
 }