init
This commit is contained in:
19
internal/store/model/system_config.go
Normal file
19
internal/store/model/system_config.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user