<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OpenCalendarSchedule extends Model
{
    use HasFactory;
    protected $table = "open_calendar_schedules";

    // belongsTo open_calendar
    public function open_calendar()
    {
        return $this->belongsTo('App\Models\OpenCalendar', 'open_calendar_id', 'id');
    }
}
