schema([ TextInput::make('guid') ->required() ->maxLength(40) ->default(sprintf('INS-%s', Uuid::uuid4())), TextInput::make('name') ->required() ->maxLength(255), Toggle::make('is_active') ->required(), TextInput::make('address') ->maxLength(255), TextInput::make('logo_path') ->maxLength(255), ]); } public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('guid') ->searchable(), TextColumn::make('name') ->searchable(), IconColumn::make('is_active') ->boolean(), TextColumn::make('address') ->searchable(), TextColumn::make('logo_path') ->searchable(), TextColumn::make('created_at') ->dateTime() ->sortable() ->toggleable(isToggledHiddenByDefault: true), TextColumn::make('updated_at') ->dateTime() ->sortable() ->toggleable(isToggledHiddenByDefault: true), ]) ->filters([ // ]) ->actions([ EditAction::make(), ]) ->bulkActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListOrganizations::route('/'), 'create' => Pages\CreateOrganization::route('/create'), 'edit' => Pages\EditOrganization::route('/{record}/edit'), ]; } }