service backend
This commit is contained in:
11
api/pkg/model/link.go
Normal file
11
api/pkg/model/link.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/tech/sendico/pkg/mservice"
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type Link struct {
|
||||
ObjectRef primitive.ObjectID `bson:"objectRef" json:"objectRef"`
|
||||
Type mservice.Type `bson:"type" json:"type"`
|
||||
}
|
||||
Reference in New Issue
Block a user