package model

import (
	"time"

	"github.com/google/uuid"
)

type CompetitorMonitor struct {
	ID        uuid.UUID `gorm:"type:uuid;primary_key;default:gen_random_uuid()" json:"id"`
	UserID    uuid.UUID `gorm:"type:uuid;not null;uniqueIndex:idx_user_competitor" json:"user_id"`
	BrandName string    `gorm:"type:varchar(255);not null;uniqueIndex:idx_user_competitor" json:"brand_name"`
	XHandle   string    `gorm:"type:varchar(255)" json:"x_handle"`
	IsActive  bool      `gorm:"default:true" json:"is_active"`
	CreatedAt time.Time `json:"created_at"`
}
