schema([ // ]); } public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('name'), Tables\Columns\TextColumn::make('code'), Tables\Columns\TextColumn::make('lvl_edu') ->formatStateUsing(fn ($state) => $state->getLabel()) ]) ->filters([ // ]) ->actions([ Tables\Actions\EditAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListDirectionStudies::route('/'), 'create' => Pages\CreateDirectionStudy::route('/create'), 'edit' => Pages\EditDirectionStudy::route('/{record}/edit'), ]; } }