16 lines
420 B
Go
16 lines
420 B
Go
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"`
|
|
}
|