initial commit
This commit is contained in:
24
internal/domain/bookmark/asset_bookmark_group.go
Normal file
24
internal/domain/bookmark/asset_bookmark_group.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package bookmark
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type AssetBookmarkGroup struct {
|
||||
ID uuid.UUID
|
||||
ProfileID uuid.UUID
|
||||
Name string
|
||||
Assets []BookmarkedAsset
|
||||
}
|
||||
|
||||
type BookmarkedAsset struct {
|
||||
ID uuid.UUID
|
||||
BookmarkGroupID uuid.UUID
|
||||
AssetID uuid.UUID
|
||||
AssetType string
|
||||
AssetName string
|
||||
RestOfFields json.RawMessage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user