32 lines
1.2 KiB
Go
32 lines
1.2 KiB
Go
package entity
|
|
|
|
const CollectionName = "copy_drafts"
|
|
|
|
const (
|
|
DraftTypeViralReplica = "viral-replica"
|
|
DraftTypeReplicate = "replicate"
|
|
DraftTypeMatrix = "matrix"
|
|
)
|
|
|
|
type CopyDraft struct {
|
|
ID string `bson:"_id"`
|
|
TenantID string `bson:"tenant_id"`
|
|
OwnerUID string `bson:"owner_uid"`
|
|
PersonaID string `bson:"persona_id"`
|
|
CopyMissionID string `bson:"copy_mission_id,omitempty"`
|
|
ScanPostID string `bson:"scan_post_id,omitempty"`
|
|
DraftType string `bson:"draft_type"`
|
|
SortOrder int `bson:"sort_order,omitempty"`
|
|
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"`
|
|
PublishedMediaID string `bson:"published_media_id,omitempty"`
|
|
PublishedPermalink string `bson:"published_permalink,omitempty"`
|
|
PublishedAt int64 `bson:"published_at,omitempty"`
|
|
CreateAt int64 `bson:"create_at"`
|
|
}
|