<?php

namespace App\Models;

use CodeIgniter\Model;

class PermintaanModel extends Model
{
    protected $table = 'permintaan';
    protected $primaryKey = 'id';

    protected $allowedFields = [
       'nama',
        'email',
        'judul',
        'format',
        'kategori',
        'detail'

   ];

   protected $returnType = 'array';

   protected $useAutoIncrement = true;
   protected $useTimestamps = false;
}