<?php

namespace App\Models;

use CodeIgniter\Model;

class CompetitionScoreModel extends Model
{
    protected $table      = 'competition_scores';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'competition_id',
        'student_id',
        'class_section_id',
        'score',
        'notes',
    ];

    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}
