<?php
declare(strict_types=1);

namespace App\Models;          // ← namespace attendu par routes.php

use Illuminate\Database\Eloquent\Model;

/**
 * Modèle Eloquent représentant un article.
 */
class Post extends Model
{
    protected $table = 'posts';
    protected $fillable = ['title', 'content'];
    public $timestamps = false;
}
