<?php

namespace App\Models;

use CodeIgniter\Model;

class EkstrakurikulerModel extends Model
{
    protected $table      = 'ekstrakurikuler';
    protected $primaryKey = 'id';

    protected $allowedFields = [
        'nama',
        'deskripsi',
        'pembina',
        'jumlah_anggota',
        'foto',
        'urutan',
        'created_at',
        'updated_at',
    ];

    protected $useTimestamps = true;
}
