'department', 'plural' => 'departments', ]; } protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedBuildingOffice2; protected static string|UnitEnum|null $navigationGroup = NavigationGroup::Organization; protected static ?int $navigationSort = 1; protected static ?string $recordTitleAttribute = 'name'; protected static bool $isGloballySearchable = false; public static function form(Schema $schema): Schema { return DepartmentForm::configure($schema); } public static function infolist(Schema $schema): Schema { return DepartmentInfolist::configure($schema); } public static function table(Table $table): Table { return DepartmentsTable::configure($table); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => ListDepartments::route('/'), 'create' => CreateDepartment::route('/create'), 'view' => ViewDepartment::route('/{record}'), 'edit' => EditDepartment::route('/{record}/edit'), ]; } public static function getRecordRouteBindingEloquentQuery(): Builder { return parent::getRecordRouteBindingEloquentQuery() ->withoutGlobalScopes([ SoftDeletingScope::class, ]); } }