Example #1
0
 /**
  * @return HotelRecord
  */
 public function getHotel()
 {
     return $this->hasOne(HotelRecord::className(), ['id' => 'hotel_id']);
 }