syntax = "proto3";

package user;

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

import "google/protobuf/timestamp.proto";

// User message represents a user
message User {
  // User ID
  string id = 1;

  // User name
  string name = 2;

  // Email address
  string email = 3;

  // Email verification timestamp
  google.protobuf.Timestamp email_verified = 4;

  // Profile image URL
  string image = 5;

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

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