package models import ( "time" ) type TDmStatusTeacher struct { StatusCode string `xorm:"not null pk comment('状态码') CHAR(2)"` StatusName string `xorm:"not null comment('状态名称') VARCHAR(32)"` BUse int64 `xorm:"not null comment('是否启用') INT(11)"` ChangePersonBUse int64 `xorm:"not null default 1 comment('换成这种状态后,将人员的B_USE修改成什么') INT(11)"` IsShow int64 `xorm:"not null default 1 comment('是不是要显示给用户') INT(255)"` UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"` IdInt int64 `xorm:"not null autoincr comment('整数主键') unique INT(11)"` }