13 lines
260 B
Go
13 lines
260 B
Go
package model
|
|
|
|
import "git.sendico.io/tech/sxchnge/bff/pkg/db/storable"
|
|
|
|
type Indexable struct {
|
|
Index int `bson:"index" json:"index"`
|
|
}
|
|
|
|
type IndexableRef struct {
|
|
storable.Ref `bson:",inline" json:",inline"`
|
|
Indexable `bson:",inline" json:",inline"`
|
|
}
|