<?php

namespace App\Models;

class ChannelManagerPropertyRateMapping extends BaseModel
{

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

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

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

    protected $hidden = [];

    public function propertyRoomRateMapping()
    {
        return $this->hasOne("App\Models\PropertyRoomRateMapping", 'id', 'property_room_rate_mapping_id')->select(['id','room_id','room_rate_id','status']);
    }

}
