<?php



namespace App\Models;



use CodeIgniter\Model;



class PaymentMainModel extends Model

{

    protected $table = 'payment_main';

    protected $primaryKey = 'id'; // Assuming your primary key field name is 'id'

    protected $allowedFields = ['transaction_code', 'client_key', 'date_created', 'img', 'paid_status', 'payment_date']; // Add other fields as needed

}

