feat: added modules

This commit is contained in:
Marvin Zhang
2024-06-14 15:42:50 +08:00
parent 4d0adcb6f0
commit c4d795f47f
626 changed files with 60104 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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)
}