add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
+12 -10
View File
@@ -2,6 +2,8 @@
namespace App\Models;
use App\Models\BaseModel;
class FinalExam extends BaseModel
{
protected $table = 'final_exam';
@@ -31,19 +33,19 @@ class FinalExam extends BaseModel
];
protected $casts = [
'student_id' => 'integer',
'school_id' => 'integer',
'student_id' => 'integer',
'school_id' => 'integer',
'class_section_id' => 'integer',
'updated_by' => 'integer',
'updated_by' => 'integer',
// score is often numeric; adjust if yours is integer
'score' => 'decimal:2',
'max_points' => 'decimal:2',
'locked_by' => 'integer',
'locked_at' => 'datetime',
'score' => 'decimal:2',
'max_points' => 'decimal:2',
'locked_by' => 'integer',
'locked_at' => 'datetime',
'created_at' => 'datetime',
'updated_at' => 'datetime',
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
/* Optional relationships */
@@ -80,4 +82,4 @@ class FinalExam extends BaseModel
return $row?->score;
}
}
}