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