recreate project

This commit is contained in:
root
2026-02-10 22:11:06 -05:00
commit 663c0cdbda
10149 changed files with 1379710 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class ExamModel extends Model
{
protected $table = 'exams';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $allowedFields = [
'student_id',
'school_id',
'class_section_id',
'exam_name',
'created_at'
];
// Timestamps
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = ''; // Set this if you later add an `updated_at` column
protected $returnType = 'array'; // You can change this to 'object' if preferred
}