This commit is contained in:
Mark Gregory
2026-06-15 17:55:36 +01:00
parent 578a977c59
commit 0a9746fa77
25 changed files with 844 additions and 106 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ final class Category extends Model
protected $table = 'helpdesk_categories';
/** @var list<string> */
protected $fillable = ['company_id', 'name', 'slug', 'color', 'description'];
protected $fillable = ['company_id', 'name', 'slug', 'color', 'description', 'is_default'];
/** @var array<string, string> */
protected $casts = ['company_id' => 'integer'];
protected $casts = ['company_id' => 'integer', 'is_default' => 'boolean'];
/** @return HasMany<Ticket> */
public function tickets(): HasMany