haixunMaster/haixun-backend/internal/model/copy_draft/domain/entity/draft.go

23 lines
799 B
Go
Raw Normal View History

2026-06-24 10:02:42 +00:00
package entity
const CollectionName = "copy_drafts"
const DraftTypeViralReplica = "viral-replica"
type CopyDraft struct {
ID string `bson:"_id"`
TenantID string `bson:"tenant_id"`
OwnerUID string `bson:"owner_uid"`
PersonaID string `bson:"persona_id"`
ScanPostID string `bson:"scan_post_id,omitempty"`
DraftType string `bson:"draft_type"`
Text string `bson:"text"`
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"`
Status string `bson:"status,omitempty"`
CreateAt int64 `bson:"create_at"`
}