调度中心嵌入cms
This commit is contained in:
15
internal/store/model/global_config.go
Normal file
15
internal/store/model/global_config.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type GlobalConfig struct {
|
||||
ID primitive.ObjectID `bson:"_id,omitempty" json:"id"`
|
||||
Key string `bson:"key" json:"key"`
|
||||
Config string `bson:"config" json:"config"`
|
||||
UpdatedBy string `bson:"updatedBy" json:"updatedBy"`
|
||||
UpdatedAt time.Time `bson:"updatedAt" json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user