<?php

namespace App\Models;

use CodeIgniter\Model;

class AchievementModel extends Model
{
    protected $table         = 'achievements';
    protected $primaryKey    = 'id';
    protected $returnType = 'array';
    protected $allowedFields = ['student_name', 'photo', 'class_name', 'achievement', 'level', 'year', 'medal', 'sort_order', 'show'];
    protected $useTimestamps = true;
}
