SJA工艺
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
972 B

3 years ago
  1. package models
  2. import "LAPP_SJA_ME/utils"
  3. //属性和属性组关联表
  4. type MeAttributegroupValst struct {
  5. Finr int `xorm:"pk comment('工厂号') int(0)" json:"me_attributegroup_valst-finr"`
  6. Attrcode int `xorm:"pk comment('属性ID') int(0)" json:"me_attributegroup_valst-attrcode"`
  7. Attrgroup int `xorm:"pk comment('属性ID') int(0)" json:"me_attributegroup_valst-attrgroup"`
  8. Lastmodif string `xorm:"comment('最近一次更改时间') VARCHAR(14)" json:"me_attributegroup_valst-lastmodif"`
  9. Lastuser string `xorm:"comment('最近一次更改人') VARCHAR(20)" json:"me_attributegroup_valst-lastuser"`
  10. Credatuz string `xorm:"comment('创建时间') VARCHAR(14)" json:"me_attributegroup_valst-credatuz"`
  11. }
  12. func (t *MeAttributegroupValst) TableName() string {
  13. return "me_attributegroup_valst"
  14. }
  15. // 清除string字段的右侧空格
  16. func (t *MeAttributegroupValst) Clipped() {
  17. utils.TrimStruct(t, *t)
  18. }