/home/techb158/ileadtechnology.com/SSM/app/Models/academic
NameSizeModeActions
AcademicSession.php30350644editdlrm
Batch.php35630644editdlrm
Certificate.php29890644editdlrm
ClassTeacher.php18460644editdlrm
ClassTiming.php25450644editdlrm
ClassTimingSession.php16680644editdlrm
Course.php28770644editdlrm
Subject.php31870644editdlrm
SubjectTeacher.php15730644editdlrm
Timetable.php25640644editdlrm
TimetableAllocation.php15850644editdlrm
TimetableAllocationDetail.php14260644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/academic/TimetableAllocationDetail.php (1426B)
'array']; protected $primaryKey = 'id'; protected $table = 'timetable_allocation_details'; protected static $logName = 'timetable_allocation_detail'; protected static $logFillable = true; protected static $logOnlyDirty = true; protected static $ignoreChangedAttributes = ['updated_at']; public function timetableAllocation() { return $this->belongsTo('App\Models\Academic\TimetableAllocation'); } public function classTimingSession() { return $this->belongsTo('App\Models\Academic\ClassTimingSession'); } public function subject() { return $this->belongsTo('App\Models\Academic\Subject'); } public function getOption(string $option) { return array_get($this->options, $option); } public function scopeFilterById($q, $id) { if (! $id) { return $q; } return $q->where('id', '=', $id); } }