syntax = "proto3";

package activity;

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



// UserRewards message represents rewards earned by users
message UserRewards {
  // User reward ID
  int32 id = 1;

  // Reward ID reference
  int32 reward_id = 2;

  // User ID who earned the reward
  string user_id = 3;

  // Whether the reward has been claimed
  bool claimed = 4;

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

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