<?php

namespace App\Models;

use CodeIgniter\Model;

class BlogModel extends Model
 {
    protected $table            = 'sys_menu';
    protected $primaryKey       = 'id_menu';
    protected $allowedFields    = ['libelle'];
    protected $useTimestamps    = true; // Active les champs created_at et updated_at
 }