22 lines
342 B
Go
Raw Normal View History

2023-06-28 08:19:34 +02:00
package pseudo
2023-06-28 11:35:22 +02:00
import "github.com/zitadel/zitadel/internal/eventstore"
2023-06-28 08:19:34 +02:00
const (
2023-06-28 11:35:22 +02:00
AggregateType = "pseudo"
AggregateVersion = "v1"
2023-06-28 08:19:34 +02:00
)
2023-06-28 11:35:22 +02:00
type Aggregate struct {
eventstore.Aggregate
}
func NewAggregate() *Aggregate {
return &Aggregate{
Aggregate: eventstore.Aggregate{
Type: AggregateType,
Version: AggregateVersion,
},
}
}