2026-06-26 08:37:04 +00:00
|
|
|
package entity
|
|
|
|
|
|
|
|
|
|
const CollectionName = "copy_drafts"
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
DraftTypeViralReplica = "viral-replica"
|
|
|
|
|
DraftTypeReplicate = "replicate"
|
|
|
|
|
DraftTypeMatrix = "matrix"
|
2026-07-06 06:13:14 +00:00
|
|
|
DraftTypeFormula = "formula"
|
2026-06-26 08:37:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type CopyDraft struct {
|
2026-07-06 06:13:14 +00:00
|
|
|
ID string `bson:"_id"`
|
|
|
|
|
TenantID string `bson:"tenant_id"`
|
|
|
|
|
OwnerUID string `bson:"owner_uid"`
|
|
|
|
|
PersonaID string `bson:"persona_id"`
|
|
|
|
|
ContentPlanID string `bson:"content_plan_id,omitempty"`
|
|
|
|
|
CopyMissionID string `bson:"copy_mission_id,omitempty"`
|
|
|
|
|
ScanPostID string `bson:"scan_post_id,omitempty"`
|
|
|
|
|
FormulaID string `bson:"formula_id,omitempty"`
|
|
|
|
|
DraftType string `bson:"draft_type"`
|
|
|
|
|
MatrixBatchID string `bson:"matrix_batch_id,omitempty"`
|
|
|
|
|
SortOrder int `bson:"sort_order,omitempty"`
|
|
|
|
|
Text string `bson:"text"`
|
|
|
|
|
TopicTag string `bson:"topic_tag,omitempty"`
|
|
|
|
|
Angle string `bson:"angle,omitempty"`
|
|
|
|
|
Hook string `bson:"hook,omitempty"`
|
|
|
|
|
Rationale string `bson:"rationale,omitempty"`
|
|
|
|
|
ReferenceNotes string `bson:"reference_notes,omitempty"`
|
|
|
|
|
Sources []string `bson:"sources,omitempty"`
|
|
|
|
|
AiScore int `bson:"ai_score,omitempty"`
|
|
|
|
|
FormulaScore int `bson:"formula_score,omitempty"`
|
|
|
|
|
BrandFitScore int `bson:"brand_fit_score,omitempty"`
|
|
|
|
|
RiskScore int `bson:"risk_score,omitempty"`
|
|
|
|
|
SimilarityScore int `bson:"similarity_score,omitempty"`
|
|
|
|
|
EngagementPotential int `bson:"engagement_potential,omitempty"`
|
|
|
|
|
FreshnessScore int `bson:"freshness_score,omitempty"`
|
|
|
|
|
ReviewSuggestion string `bson:"review_suggestion,omitempty"`
|
|
|
|
|
Status string `bson:"status,omitempty"`
|
|
|
|
|
PublishQueueID string `bson:"publish_queue_id,omitempty"`
|
|
|
|
|
PublishedMediaID string `bson:"published_media_id,omitempty"`
|
|
|
|
|
PublishedPermalink string `bson:"published_permalink,omitempty"`
|
|
|
|
|
PublishedAt int64 `bson:"published_at,omitempty"`
|
|
|
|
|
CreateAt int64 `bson:"create_at"`
|
2026-06-26 08:37:04 +00:00
|
|
|
}
|