mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 22:57:31 +00:00
24 lines
463 B
Go
24 lines
463 B
Go
![]() |
package organization_settings
|
||
|
|
||
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
||
|
|
||
|
const (
|
||
|
AggregateType = "organization_settings"
|
||
|
AggregateVersion = "v1"
|
||
|
)
|
||
|
|
||
|
type Aggregate struct {
|
||
|
eventstore.Aggregate
|
||
|
}
|
||
|
|
||
|
func NewAggregate(id, resourceOwner string) *Aggregate {
|
||
|
return &Aggregate{
|
||
|
Aggregate: eventstore.Aggregate{
|
||
|
Type: AggregateType,
|
||
|
Version: AggregateVersion,
|
||
|
ID: id,
|
||
|
ResourceOwner: resourceOwner,
|
||
|
},
|
||
|
}
|
||
|
}
|