30 lines
589 B
PHP
30 lines
589 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use CodeIgniter\Model;
|
|
|
|
class InsurersModel extends Model
|
|
{
|
|
protected $table = 'insurers';
|
|
protected $primaryKey = 'id';
|
|
|
|
protected $allowedFields = [
|
|
'type',
|
|
'category',
|
|
'addition_add_day',
|
|
'deletion_add_day',
|
|
'name',
|
|
'short_name',
|
|
'created_by',
|
|
'created_at',
|
|
'updated_by',
|
|
'updated_at',
|
|
'is_active',
|
|
'insurer_logo',
|
|
'is_multi_event'
|
|
];
|
|
|
|
protected $useTimestamps = false; // handled by DB with CURRENT_TIMESTAMP
|
|
}
|