<?php

namespace App\Models;

use CodeIgniter\Model;

class BlogModel extends Model
 {
    protected $table            = 'structure';
    protected $primaryKey       = 'CODE_';
    protected $allowedFields    = ['type_str','nom_str'];
    protected $useTimestamps    = true; // Active les champs created_at et updated_at
 }