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
}
