package models type TBaseGlobal struct { GlobalId string `xorm:"not null pk comment('全局变量ID') CHAR(36)"` GlobalTypeId int32 `xorm:"not null default 0 comment('全局变量分类') index INT(11)"` GlobalCode string `xorm:"not null default '''' comment('全局变量代码') unique VARCHAR(50)"` GlobalValue string `xorm:"not null default '''' comment('全局变量值') VARCHAR(255)"` GlobalRemarks string `xorm:"not null default '''' comment('全局变量备注') VARCHAR(500)"` SortId int32 `xorm:"not null default 1 comment('排序号') INT(11)"` BUse int32 `xorm:"not null default 1 comment('是否启用 0:未启用 1:启用') TINYINT(1)"` }