20 lines
692 B
Go
20 lines
692 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"go.mongodb.org/mongo-driver/bson/primitive"
|
|
)
|
|
|
|
type SystemConfig struct {
|
|
ID primitive.ObjectID `bson:"_id,omitempty" json:"id"`
|
|
Key string `bson:"key" json:"key"`
|
|
Title string `bson:"title" json:"title"`
|
|
Value string `bson:"value" json:"value"`
|
|
ValueType string `bson:"valueType" json:"valueType"`
|
|
Description string `bson:"description" json:"description"`
|
|
Enabled bool `bson:"enabled" json:"enabled"`
|
|
CreatedAt time.Time `bson:"createdAt" json:"createdAt"`
|
|
UpdatedAt time.Time `bson:"updatedAt" json:"updatedAt"`
|
|
}
|