add projet
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user