23 lines
799 B
Go
23 lines
799 B
Go
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"`
|
|
}
|