<?php

namespace App\Models;

use CodeIgniter\Model;

class AnggotaModel extends Model
{
    protected $table = 'anggota';
    protected $primaryKey = 'id';
    protected $returnType = 'array';

    protected $allowedFields = [
        'foto',
        'nama',
        'nisn',
        'jenis',
        'kelas',
        'alamat'
    ];

    protected $useTimestamps = true;
}