package entity

import r "xyj-figures/pkg/relationship"

type Group struct {
	Name          string
	OtherNames    []string         `yaml:"other_names,flow"`
	Members       []string         `yaml:"members,flow"`
	Relationships []r.Relationship `yaml:"relationships,flow"`
	Description   string           `yaml:"description"`
	Links         []string         `yaml:"links,flow"`
}

func (g Group) GetRelationships() []r.Relationship {
	return g.Relationships
}
