package model

import (
	"time"

	"github.com/google/uuid"
)

type GeneratedReply struct {
	ID           uuid.UUID `gorm:"type:uuid;primary_key;default:gen_random_uuid()" json:"id"`
	UserID       uuid.UUID `gorm:"type:uuid;not null;index:idx_generated_replies_user_id" json:"user_id"`
	TweetID      uuid.UUID `gorm:"type:uuid;not null;index:idx_generated_replies_tweet_id" json:"tweet_id"`
	StrategyType string    `gorm:"type:varchar(100);not null" json:"strategy_type"`
	Content      string    `gorm:"type:text;not null" json:"content"`
	Status       string    `gorm:"type:varchar(50);default:'draft'" json:"status"` // draft, copied, posted
	Language     string    `gorm:"type:varchar(10);default:'en'" json:"language"`
	CreatedAt    time.Time `json:"created_at"`
}
