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.

25 lines
1.3 KiB

3 years ago
  1. package models
  2. import "LAPP_SJA_ME/utils"
  3. type MeSupplyGroupAtcodlst struct {
  4. Finr int `xorm:"pk comment('工厂号') int(0)" json:"me_supplygroup_atcodlst-finr"`
  5. Supplygroupid string `xorm:"pk comment('供应组Id') VARCHAR(20)" json:"me_supplygroup_atcodlst-supplygroupid"`
  6. Attrcode int `xorm:"pk comment('属性ID') int(0)" json:"me_supplygroup_atcodlst-attrcode"`
  7. Mandatory int `xorm:"comment('属性ID') int(0)" json:"me_supplygroup_atcodlst-mandatory"`
  8. Verifyrule string `xorm:"comment('项目Id') VARCHAR(40)" json:"me_supplygroup_atcodlst-verifyrule"`
  9. Attrvalue1 string `xorm:"comment('项目Id') VARCHAR(40)" json:"me_supplygroup_atcodlst-attrvalue1"`
  10. Attrvalue2 string `xorm:"comment('项目Id') VARCHAR(40)" json:"me_supplygroup_atcodlst-attrvalue2"`
  11. Lastmodif string `xorm:"comment('最近一次更改时间') VARCHAR(14)" json:"me_supplygroup_atcodlst-lastmodif"`
  12. Lastuser string `xorm:"comment('最近一次更改人') VARCHAR(20)" json:"me_supplygroup_atcodlst-lastuser"`
  13. Credatuz string `xorm:"comment('创建时间') VARCHAR(14)" json:"me_supplygroup_atcodlst-credatuz"`
  14. }
  15. func (t *MeSupplyGroupAtcodlst) TableName() string {
  16. return "me_supplygroup_atcodlst"
  17. }
  18. // 清除string字段的右侧空格
  19. func (t *MeSupplyGroupAtcodlst) Clipped() {
  20. utils.TrimStruct(t, *t)
  21. }