You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
952 B

package models
import (
"time"
)
type TBaseApp struct {
Appid string `xorm:"not null pk comment('应用ID') CHAR(32)"`
Appkey string `xorm:"not null comment('应用密码') CHAR(100)"`
Appname string `xorm:"not null comment('应用名称') VARCHAR(30)"`
SortId int64 `xorm:"not null comment('排序号') INT(11)"`
SystemTypeId int64 `xorm:"not null comment('系统分类') INT(11)"`
CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"`
BureauId string `xorm:"default 'NULL' comment('购买单位') CHAR(36)"`
Developer string `xorm:"not null comment('开发者') VARCHAR(255)"`
IsSystem int64 `xorm:"not null default 0 comment('是否系统使用') INT(11)"`
BUse int64 `xorm:"not null default 1 comment('是否启用') INT(255)"`
}