mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
18 lines
329 B
Go
18 lines
329 B
Go
package interfaces
|
|
|
|
import (
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
type ExtraValue interface {
|
|
Model
|
|
GetValue() (v interface{})
|
|
SetValue(v interface{})
|
|
GetObjectId() (oid primitive.ObjectID)
|
|
SetObjectId(oid primitive.ObjectID)
|
|
GetModel() (m string)
|
|
SetModel(m string)
|
|
GetType() (t string)
|
|
SetType(t string)
|
|
}
|