mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
13 lines
275 B
Go
13 lines
275 B
Go
package models
|
|
|
|
import (
|
|
"go.mongodb.org/mongo-driver/bson"
|
|
)
|
|
|
|
type Setting struct {
|
|
any `collection:"settings"`
|
|
BaseModel[Setting] `bson:",inline"`
|
|
Key string `json:"key" bson:"key"`
|
|
Value bson.M `json:"value" bson:"value"`
|
|
}
|