add school year model

This commit is contained in:
root
2026-06-07 00:52:01 -04:00
parent a192ed433d
commit 6866aedf42
36 changed files with 4771 additions and 88 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
class AuditLog extends BaseModel
{
public $timestamps = false;
protected $table = 'audit_logs';
protected $fillable = [
'user_id',
'action',
'table_name',
'record_id',
'old_value',
'new_value',
'metadata',
'created_at',
];
protected $casts = [
'user_id' => 'integer',
'record_id' => 'integer',
'old_value' => 'array',
'new_value' => 'array',
'metadata' => 'array',
'created_at' => 'datetime',
];
}