mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:17:32 +00:00
15 lines
357 B
Go
15 lines
357 B
Go
package query
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
"github.com/zitadel/zitadel/internal/eventstore"
|
|
)
|
|
|
|
func readModelToObjectDetails(model *eventstore.ReadModel) *domain.ObjectDetails {
|
|
return &domain.ObjectDetails{
|
|
Sequence: model.ProcessedSequence,
|
|
ResourceOwner: model.ResourceOwner,
|
|
EventDate: model.ChangeDate,
|
|
}
|
|
}
|