syntax = "proto3";

package activity;

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

// ProcessingCycles message represents processing cycle tracking
message ProcessingCycles {
  // Cycle ID (primary key)
  int32 id = 1;

  // Type of processing cycle (unique)
  string cycle_type = 2;

  // Last completion timestamp (Unix seconds)
  int64 last_completed_at = 3;

  // Number of items processed in last cycle
  int32 processed_count = 4;

  // Duration of last cycle in milliseconds
  int64 cycle_duration_ms = 5;

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

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


