<?php

namespace App\Models;

use CodeIgniter\Model;

class KoperasiModel extends Model
{
    protected $table            = 'koperasi';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $allowedFields    = [
        'kode_koperasi', 'nama_koperasi', 'alamat', 
        'kabupaten', 'provinsi', 'logo', 'status', 'payment_methods', 'created_at'
    ];
    protected $useTimestamps    = false;
}
