updates
This commit is contained in:
@@ -22,10 +22,10 @@ final class Status extends Model
|
||||
protected $table = 'helpdesk_statuses';
|
||||
|
||||
/** @var list<string> */
|
||||
protected $fillable = ['name', 'slug', 'color', 'sort_order', 'is_closed'];
|
||||
protected $fillable = ['name', 'slug', 'color', 'sort_order', 'is_closed', 'is_default'];
|
||||
|
||||
/** @var array<string, string> */
|
||||
protected $casts = ['is_closed' => 'boolean', 'sort_order' => 'integer'];
|
||||
protected $casts = ['is_closed' => 'boolean', 'is_default' => 'boolean', 'sort_order' => 'integer'];
|
||||
|
||||
/** @return HasMany<Ticket> */
|
||||
public function tickets(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user