Files
geo/server/internal/tenant/domain/schedule_task.go
T
root 6869dc2fa6 feat(schedule): enhance schedule tasks with web search and batch generation support
Add enable_web_search and generate_count columns to schedule_tasks table.
Refactor schedule task service to publish generation jobs to RabbitMQ
instead of inline execution, supporting batch dispatch and backpressure
awareness via scheduler process.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 14:20:54 +08:00

23 lines
455 B
Go

package domain
import "time"
type ScheduleTask struct {
ID int64
TenantID int64
OperatorID *int64
PromptRuleID int64
BrandID *int64
Name string
CronExpr string
TargetPlatform *string
EnableWebSearch bool
GenerateCount int
StartAt *time.Time
EndAt *time.Time
NextRunAt *time.Time
Status string
CreatedAt time.Time
UpdatedAt time.Time
}