package entity

type ResearchMap 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"`
}

func (m ResearchMap) IsEmpty() bool {
	return m.AudienceSummary == "" &&
		m.ContentGoal == "" &&
		len(m.Questions) == 0 &&
		len(m.Pillars) == 0 &&
		len(m.Exclusions) == 0
}
