add controllers, servoices

This commit is contained in:
root
2026-03-09 02:52:13 -04:00
parent c8de5f7edc
commit d76c871cb7
501 changed files with 34439 additions and 21843 deletions
+40
View File
@@ -0,0 +1,40 @@
<?php
namespace App\Models;
use App\Models\BaseModel;
class CurrentIncident extends BaseModel
{
protected $table = 'current_incident';
public $timestamps = true;
protected $fillable = [
'student_id',
'student_name',
'grade',
'incident',
'incident_datetime',
'incident_state',
'updated_by_open',
'open_description',
'updated_by_closed',
'close_description',
'action_taken',
'updated_by_canceled',
'cancel_description',
'semester',
'school_year',
'created_at',
'updated_at',
];
protected $casts = [
'student_id' => 'integer',
'updated_by_open' => 'integer',
'updated_by_closed' => 'integer',
'updated_by_canceled' => 'integer',
'incident_datetime' => 'datetime',
];
}