package models import ( "time" ) type TDmXb struct { XbId int64 `xorm:"not null pk autoincr comment('性别ID') INT(11)"` XbName string `xorm:"not null comment('性别名称') VARCHAR(2)"` UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"` }