schema([ Forms\Components\TextInput::make('id_asuransi') ->required() ->maxLength(255), Forms\Components\TextInput::make('nama_asuransi') ->required() ->maxLength(255), ]); } public static function table(Table $table): Table { return $table ->defaultSort('created_at', 'desc') ->searchable() ->columns([ TextColumn::make('nama_asuransi')->label('Nama Asuransi')->sortable()->searchable(), TextColumn::make('created_at')->label('Tanggal Dibuat')->sortable()->searchable(), TextColumn::make('updated_at')->label('Tanggal Diubah')->sortable()->searchable(), ]) ->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\ListMsAsuransis::route('/'), 'create' => Pages\CreateMsAsuransi::route('/create'), 'view' => Pages\ViewMsAsuransi::route('/{record}'), 'edit' => Pages\EditMsAsuransi::route('/{record}/edit'), ]; } }