<?php


namespace App\Models;

class PropertyWebRoomMapping extends BaseModel
{

    protected $table = 'property_web_room_mapping';
    protected $appends = [];

    const CREATED_AT = 'created_at';
    const UPDATED_AT = 'updated_at';

    protected $dateFormat = 'U';
    protected $guarded = [];

    protected $hidden = [];

    public function roomDetail()
    {
        return $this->hasOne('App\Models\PropertyRoom','id', 'property_room_id')->select();
    }
}
