Files
geo/server/internal/tenant/domain/schedule_task.go
T
root b31d8d0096 feat(migrations): Harden task audit tracking and optimize article templates
- Added migration to harden task audit tracking by modifying audit_logs and related tables.
- Introduced operator_id to several tables for better tracking of actions.
- Updated article_templates with new prompt templates for various article types, enhancing content generation.
- Created prompt_rules and schedule_tasks tables to manage content generation rules and scheduling.
- Added foreign key constraints to articles for better data integrity.
2026-04-02 00:31:28 +08:00

20 lines
375 B
Go

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