ajout de la fonctionnalité login et modification profil

This commit is contained in:
2026-03-23 23:06:33 +01:00
parent eb9d1f496b
commit a7ac890c17
20 changed files with 867 additions and 67 deletions
+12 -1
View File
@@ -6,5 +6,16 @@ use Illuminate\Database\Eloquent\Model;
class Role extends Model
{
//
public $timestamps = false;
protected $primaryKey = 'ID_Role';
protected $table = 'roles';
protected $fillable = [
'Nom',
];
public function utilisateurs()
{
return $this->hasMany(Utilisateur::class, 'ID_Role', 'ID_Role');
}
}