package models type Etltablst struct { Finr int `xorm:"pk comment('工厂号') Int" json:"etltablst-finr"` Id int `xorm:"pk comment('id') Int" json:"etltablst-id"` Eid int `xorm:"pk comment('关联id') Int" json:"etltablst-eid"` Table string `xorm:"comment('数据表') VARCHAR(30)" json:"etltablst-table"` Field string `xorm:"comment('原字段') VARCHAR(32)" json:"etltablst-field"` ToField string `xorm:"comment('映射字段') VARCHAR(32)" json:"etltablst-to_field"` Fieldname string `xorm:"comment('字段名') VARCHAR(30)" json:"etltablst-fieldname"` Fieldtype string `xorm:"comment('字段类型') VARCHAR(30)" json:"etltablst-fieldtype"` Funcspec string `xorm:"comment('特殊方法') VARCHAR(30)" json:"etltablst-funcspec"` Lastmodif string `xorm:"comment('最近一次更改时间') VARCHAR(14)" json:"etltablst-lastmodif"` Lastuser string `xorm:"comment('最近一次更改人') VARCHAR(20)" json:"etltablst-lastuser"` Credatuz string `xorm:"comment('创建时间') VARCHAR(14)" json:"etltablst-credatuz"` } func (t *Etltablst) TableName() string { return "etltablst" }