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
+34
View File
@@ -0,0 +1,34 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class CompetitionModel extends Model
{
protected $table = 'competitions';
protected $primaryKey = 'id';
protected $useSoftDeletes = true;
protected $allowedFields = [
'title',
'semester',
'school_year',
'class_section_id',
'start_date',
'end_date',
'winners_count',
'prize_per_point',
'is_published',
'published_at',
'is_locked',
'locked_at',
'locked_by',
'created_by',
];
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
protected $deletedField = 'deleted_at';
}