package models import ( "time" ) type TDmBz struct { BzId string `xorm:"not null pk comment('编制代码') CHAR(2)"` BzName string `xorm:"not null comment('编制名称') VARCHAR(64)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"` IdInt int64 `xorm:"not null autoincr comment('整数主键') unique INT(11)"` }