package models type TBaseGlobal struct { GlobalId int64 `xorm:"not null pk autoincr INT(11)"` GlobalTypeId int64 `xorm:"not null comment('全局变量分类') INT(11)"` GlobalCode string `xorm:"not null comment('全局变量代码') unique VARCHAR(32)"` GlobalValue string `xorm:"not null comment('全局变量值') VARCHAR(255)"` GlobalName string `xorm:"not null comment('说明文字') VARCHAR(32)"` SortId int64 `xorm:"not null default 1 comment('排序号') INT(11)"` }