Files
alrahma_sunday_school_api/app/Models/Calendar.php
T
2026-03-05 12:29:37 -05:00

37 lines
810 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Calendar extends Model
{
protected $table = 'calendar_events';
protected $fillable = [
'title',
'date',
'description',
'notify_parent',
'notify_admin',
'notify_teacher',
'no_school',
'semester',
'school_year',
'notification_sent',
'created_at',
'updated_at',
];
public $timestamps = true;
/**
* TODO: Manual port review required for custom CI query methods from Calendar.
* - getEvents()
* - getEventByDate()
* - addEvent()
* - getEventsBySchoolYear()
* - getEventsBySchoolYearAndSemester()
* - supportsEventType()
*
* This automated conversion preserves schema metadata only.
*/
}