syntax = "proto3";

package activity;

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



// Rewards message represents configurable rewards
message Rewards {
  // Reward ID
  int32 id = 1;

  // Title of the reward
  string title = 2;

  // Minimum number of referees required for this reward
  int32 min_referees = 3;

  // Type of reward (e.g., "points", "badge", "discount")
  string reward_type = 4;

  // Reward value (flexible string to accommodate different reward types)
  string value = 5;

  // Description of this reward
  string description = 6;

  // Whether this reward is active
  bool is_active = 7;

  // Creation timestamp (Unix seconds)
  int64 created_at = 8;

  // Last update timestamp (Unix seconds)
  int64 updated_at = 9;
}
