schema([ Forms\Components\TextInput::make('id_tindakan') ->required() ->maxLength(255), Forms\Components\TextInput::make('nama_tindakan') ->required() ->maxLength(255), ]); } public static function table(Table $table): Table { return $table ->defaultSort('created_at', 'desc') ->searchable() ->columns([ TextColumn::make('id_tindakan')->label('ID Tindakan'), TextColumn::make('nama_tindakan')->label('Nama Tindakan'), TextColumn::make('created_at')->label('Tanggal Dibuat'), TextColumn::make('updated_at')->label('Tanggal Diubah'), ]) ->filters([ // ]) ->actions([ Tables\Actions\ViewAction::make(), Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListMsTindakans::route('/'), 'create' => Pages\CreateMsTindakan::route('/create'), 'view' => Pages\ViewMsTindakan::route('/{record}'), 'edit' => Pages\EditMsTindakan::route('/{record}/edit'), ]; } }