'Projet en cours', 'attention' => "Point d'attention", 'intervention' => 'Intervention prévue', 'info' => 'Information générale', ]; protected $guarded = []; public function organization() { return $this->belongsTo(Organization::class); } public function creator() { return $this->belongsTo(User::class, 'created_by'); } public function categoryLabel(): string { return self::CATEGORIES[$this->category] ?? $this->category; } }