recreate project
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class CompetitionWinnerModel extends Model
|
||||
{
|
||||
protected $table = 'competition_winners';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $allowedFields = [
|
||||
'competition_id',
|
||||
'student_id',
|
||||
'class_section_id',
|
||||
'rank',
|
||||
'score',
|
||||
'prize_amount',
|
||||
'created_at',
|
||||
];
|
||||
|
||||
protected $useTimestamps = false;
|
||||
}
|
||||
Reference in New Issue
Block a user