You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
394 B
19 lines
394 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class ScheduleOverviewSchedule extends SoftDeletesModel
|
|
{
|
|
protected $table = 'schedule_overview_schedules';
|
|
|
|
public function system()
|
|
{
|
|
return $this->belongsTo(ScheduleOverviewSystem::class, 'system_id', 'id');
|
|
}
|
|
|
|
public function course()
|
|
{
|
|
return $this->belongsTo(ScheduleOverviewCourse::class, 'course_id', 'id');
|
|
}
|
|
}
|