<?php

namespace App\Models;

class ChannelManagerMapping extends BaseModel
{

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

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

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

    protected $hidden = [];


    public function propertyChannelManager()
    {
        return $this->hasOne("App\Models\PropertyChannel", 'id', 'property_channel_id')->select(['id', 'name']);
    }

}
