You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: filter_service.rb
    path of file: ./repos/miru-web/app/services/reports/time_entries
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Reports::TimeEntries::FilterService < ApplicationService
  include Pagy::Backend

  attr_reader :params, :page, :group_by, :cu
    
  def initialize(params, current_company)
    @params = params
    @page = params["page"]
    @group_by = params[:group_by]
    @current_company = current_company
    @pagy_data = nil

    @es_filter = nil
  end