<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Classement extends Model {
    protected $table = 'classements'; public $timestamps = false;
    protected $fillable = ['user_id','produit_id','chrono_id','duree_secondes','date_realisation','source','created_at'];
    public function user()    { return $this->belongsTo(User::class); }
    public function produit() { return $this->belongsTo(Produit::class); }
}
