nhance/app/Models/ClaimReportModel.php
2026-07-28 15:52:47 +05:30

59 lines
1.3 KiB
PHP

<?php
namespace App\Models;
use CodeIgniter\Model;
class ClaimReportModel extends Model
{
protected $table = 'claim_report';
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $returnType = 'array';
protected $useSoftDeletes = false;
protected $protectFields = true;
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
protected $allowedFields = [
'tpa_id',
'client_id',
'client_policy_id',
'file_id',
'ticket_id',
'source_table',
'source_row_id',
'claim_number',
'emp_code',
'tpa_no',
'emp_id',
'insured_emp_id',
'claim_amount',
'approved_amount',
'incurred_amount',
'si_amt',
'tpa_claim_status',
'claim_status_id',
'tpa_claim_type',
'tpa_ailments',
'doa',
'dod',
'date_of_intimat',
'settled_date',
'approved_date',
'claim_dump_date',
'hospital_name',
'hospital_city',
'hospital_state',
'hospital_pin_code',
'hospital_address',
'gender',
'age',
'relation',
'is_active',
'created_at',
'updated_at',
];
}