<?php

namespace App\Models;

use CodeIgniter\Model;

class PaymentModel extends Model
{
    protected $table            = 'payments';
    protected $primaryKey       = 'id';
    protected $returnType       = 'array';
    protected $allowedFields    = [
        'job_id', 'amount', 'currency', 'gateway', 
        'transaction_id', 'status'
    ];
    protected $useTimestamps = true;
}
