<?php

namespace App\Models;

use CodeIgniter\Model;

class BlogModel extends Model
 {
    protected $table            = 'sys_type_action';
    protected $primaryKey       = 'id_type_action';
    protected $allowedFields    = ['id_sous_menu', 'id_personnel'];
    protected $useTimestamps    = true; // Active les champs created_at et updated_at
 }