package models import ( "time" ) type TDmStatusStudent struct { StatusCode string `xorm:"not null default ''1'' comment('异动CODE') CHAR(2)"` StatusName string `xorm:"not null comment('异动名称') VARCHAR(32)"` BUse int64 `xorm:"not null comment('是否可用') INT(11)"` ChangePersonBUse int64 `xorm:"not null comment('更换状态后需要将人员的b_use修改成什么?') INT(11)"` IsShow int64 `xorm:"not null default 1 comment('是否显示') INT(11)"` UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"` IdInt int64 `xorm:"not null pk autoincr comment('整数主键') unique INT(11)"` }