<?php

namespace App\Models\Reports;

use CodeIgniter\Model;

class ContractPaymentSummaryModel extends Model
{
    protected $table = 'v_contract_payments_summary';
    protected $primaryKey = 'PK_Contract';

    protected $returnType = 'array';

    // 🚫 No permitir escrituras
    protected $allowedFields = [];
    protected $useTimestamps = false;

    // Seguridad extra
    protected $protectFields = true;
}
