new helpdesk module
This commit is contained in:
@@ -17,7 +17,10 @@ final class Category extends Model
|
||||
protected $table = 'helpdesk_categories';
|
||||
|
||||
/** @var list<string> */
|
||||
protected $fillable = ['name', 'slug', 'color', 'description'];
|
||||
protected $fillable = ['company_id', 'name', 'slug', 'color', 'description'];
|
||||
|
||||
/** @var array<string, string> */
|
||||
protected $casts = ['company_id' => 'integer'];
|
||||
|
||||
/** @return HasMany<Ticket> */
|
||||
public function tickets(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user