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.
25 lines
541 B
25 lines
541 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class ScheduleOverviewScheduleModule extends SoftDeletesModel
|
|
{
|
|
protected $table = 'schedule_overview_schedule_modules';
|
|
|
|
public function group()
|
|
{
|
|
return $this->belongsTo(ScheduleOverviewScheduleGroup::class, 'group_id', 'id');
|
|
}
|
|
|
|
public function location()
|
|
{
|
|
return $this->belongsTo(ScheduleOverviewLocation::class, 'location_id', 'id');
|
|
}
|
|
|
|
public function owner()
|
|
{
|
|
return $this->belongsTo(ScheduleOverviewOwner::class, 'owner_id', 'id');
|
|
}
|
|
}
|
|
|