17 lines
475 B
Go
17 lines
475 B
Go
![]() |
package logic
|
||
|
|
||
|
const tableSetting = "setting"
|
||
|
|
||
|
type Setting struct {
|
||
|
Id int `bson:"_id"`
|
||
|
Version string `bson:"version"`
|
||
|
Title string `bson:"title"`
|
||
|
Content string `bson:"content"`
|
||
|
LoginClosed bool `bson:"login_closed"`
|
||
|
Offline bool `bson:"offline"`
|
||
|
TimedClose bool `bson:"timed_closed"`
|
||
|
CloseTime int64 `bson:"close_time"`
|
||
|
ClosedList []uint32 `bson:"closed_list"`
|
||
|
WhiteList []uint64 `bson:"white_list"`
|
||
|
}
|