schema([]); } public static function table(Table $table): Table { return $table ->columns([ Tables\Columns\TextColumn::make('name')->label('Название'), Tables\Columns\TextColumn::make('code')->label('Код направления'), Tables\Columns\TextColumn::make('lvl_edu')->label('Уровень образования') ->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'), ]; } }