package collection

import "tercul/internal/domain"

// Service is the application service for the collection aggregate.
type Service struct {
	Commands *CollectionCommands
	Queries  *CollectionQueries
}

// NewService creates a new collection Service.
func NewService(repo domain.CollectionRepository) *Service {
	return &Service{
		Commands: NewCollectionCommands(repo),
		Queries:  NewCollectionQueries(repo),
	}
}
