summaryrefslogtreecommitdiff
path: root/pkg/model/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/model/version.go')
-rw-r--r--pkg/model/version.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/model/version.go b/pkg/model/version.go
index f07db45..1d15bd1 100644
--- a/pkg/model/version.go
+++ b/pkg/model/version.go
@@ -3,13 +3,15 @@ package model
import (
"encoding/json"
"time"
+
+ "go.n16f.net/uuid"
)
type Version struct {
AccountId string
Created time.Time
Data json.RawMessage
- Id int
+ Id uuid.UUID
Lock *string
- StateId int
+ StateId uuid.UUID
}