Changeset View
Changeset View
Standalone View
Standalone View
src/app/Meet/RoomSetting.php
- This file was moved from src/app/OpenVidu/RoomSetting.php.
<?php | <?php | ||||
namespace App\OpenVidu; | namespace App\Meet; | ||||
use Illuminate\Database\Eloquent\Model; | use Illuminate\Database\Eloquent\Model; | ||||
/** | /** | ||||
* A collection of settings for a Room. | * A collection of settings for a Room. | ||||
* | * | ||||
* @property int $id | * @property int $id | ||||
* @property int $room_id | * @property int $room_id | ||||
Show All 10 Lines | class RoomSetting extends Model | ||||
/** | /** | ||||
* The room to which this setting belongs. | * The room to which this setting belongs. | ||||
* | * | ||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo | ||||
*/ | */ | ||||
public function room() | public function room() | ||||
{ | { | ||||
return $this->belongsTo('\App\OpenVidu\Room', 'room_id', 'id'); | return $this->belongsTo('\App\Meet\Room', 'room_id', 'id'); | ||||
} | } | ||||
} | } |