<?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;
}
