thread-master/internal/model/persona/domain/entity/copy_research_map.go

19 lines
822 B
Go
Raw Permalink Normal View History

2026-06-26 08:37:04 +00:00
package entity
type CopyResearchMap struct {
AudienceSummary string `bson:"audience_summary,omitempty" json:"audience_summary,omitempty"`
ContentGoal string `bson:"content_goal,omitempty" json:"content_goal,omitempty"`
Questions []string `bson:"questions,omitempty" json:"questions,omitempty"`
Pillars []string `bson:"pillars,omitempty" json:"pillars,omitempty"`
Exclusions []string `bson:"exclusions,omitempty" json:"exclusions,omitempty"`
SuggestedTags []string `bson:"suggested_tags,omitempty" json:"suggested_tags,omitempty"`
BenchmarkNotes string `bson:"benchmark_notes,omitempty" json:"benchmark_notes,omitempty"`
}
func (m CopyResearchMap) IsEmpty() bool {
return m.AudienceSummary == "" &&
m.ContentGoal == "" &&
len(m.Questions) == 0 &&
len(m.SuggestedTags) == 0
}