package models import ( "time" ) type TIntegratedSystem struct { Appid string `xorm:"not null pk comment('集成系统ID') CHAR(32)"` Pic string `xorm:"not null comment('图片路径') VARCHAR(255)"` CallbackUrl string `xorm:"not null comment('调用的url地址') VARCHAR(64)"` Prefix string `xorm:"not null comment('访问前缀') VARCHAR(255)"` CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"` BUse int64 `xorm:"not null comment('是否可用') INT(255)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"` SortId int64 `xorm:"default 1 INT(11)"` }