<?php
namespace App\Models\Payments;

use CodeIgniter\Model;

class ContractPaymentModel extends Model
{
    protected $table = 't_contract_payments';
    protected $primaryKey = 'PK_Payment';
    protected $allowedFields = [
        'FK_Contract', 'PaymentNumber', 'DueDate',
        'Amount', 'Balance', 'IsPaid', 'PaymentDate', 'CreatedAt'
    ];
}