package tableheader import ( "time" ) type BaseTableheader struct { Id int `xorm:"not null pk autoincr comment('主键编号') INT(10)"` Name string `xorm:"not null comment('名称') VARCHAR(70)"` Code string `xorm:"not null comment('名称号') VARCHAR(10)"` Categorycode string `xorm:"not null comment('类别编码') VARCHAR(10)"` Categoryname string `xorm:"not null comment('类别名称') VARCHAR(20)"` IsManuf string `xorm:"not null comment('是否是制造商') VARCHAR(2)"` Remark string `xorm:"comment('备注') VARCHAR(500)"` Isdelete int `xorm:"default 0 comment('是否以删除(0正常,1已删除)') INT(10)"` SortCode int `xorm:"default 0 comment('排序码') INT(10)"` Createon time.Time `xorm:"comment('创建时间') DATETIME"` Createuserid int `xorm:"comment('创建者编号 ') INT(10)"` Createby string `xorm:"comment('创建者') VARCHAR(50)"` Modifiedon time.Time `xorm:"comment('修改时间') DATETIME"` Modifieduserid int `xorm:"comment('修改者编号') INT(10)"` Modifiedby string `xorm:"comment('修改者') VARCHAR(50)"` }