updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user