syntax = "proto3";

package activity;

option go_package = "github.com/echofi-ai/backend/types/activity";

import "google/protobuf/timestamp.proto";

// RateParam message represents configurable point rate parameters
message RateParam {
  // Parameter ID
  int32 param_id = 1;

  // Minimum number of referees required for this rate
  int32 min_referees = 2;

  // Point rate multiplier
  double point_rate = 3;

  // Description of this rate tier
  string description = 4;

  // Whether this parameter is active
  bool is_active = 5;

  // Creation timestamp
  google.protobuf.Timestamp created_at = 6;

  // Last update timestamp
  google.protobuf.Timestamp updated_at = 7;
}
