add school year model
This commit is contained in:
@@ -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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user