<?php

namespace App\Models;

use CodeIgniter\Model;

class RuangBacaModel extends Model
{
    protected $table = 'ruang_baca';
    protected $primaryKey = 'id';
    protected $returnType = 'array';

    protected $allowedFields = [
        'judul',
        'penulis',
        'kategori',
        'jenis',
        'file_pdf'
    ];

    protected $useTimestamps = true;
}
