<?php

namespace App\Models\Master;

use CodeIgniter\Model;

class SubjectModel extends Model
{
    protected $table      = 'master_subject';
    protected $primaryKey = 'id';

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

    protected $allowedFields = [
        'kode_mapel',
        'nama_mapel',
        'kelompok',
        'is_active',
        'created_by'
    ];
}
