mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 03:54:21 +00:00
15 lines
375 B
Go
15 lines
375 B
Go
|
package command
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/domain"
|
||
|
"github.com/caos/zitadel/internal/eventstore"
|
||
|
)
|
||
|
|
||
|
func writeModelToObjectDetails(writeModel *eventstore.WriteModel) *domain.ObjectDetails {
|
||
|
return &domain.ObjectDetails{
|
||
|
Sequence: writeModel.ProcessedSequence,
|
||
|
ResourceOwner: writeModel.ResourceOwner,
|
||
|
ChangeDate: writeModel.ChangeDate,
|
||
|
}
|
||
|
}
|