广汽安道拓Acura项目MES后台
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.

55 lines
2.6 KiB

3 years ago
2 years ago
  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package qm
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : ReclinerReclst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ReclinerReclst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-07-12 14:05:20
  17. *
  18. ******************************************************************************/
  19. type ReclinerReclst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"QM_ReclinerReclst-PlantNr"`
  21. RecNr int `xorm:"pk int 'RecNr' autoincr" json:"QM_ReclinerReclst-RecNr"`
  22. RecType string `xorm:"nvarchar(16) 'RecType'" json:"QM_ReclinerReclst-RecType"`
  23. Line string `xorm:"nvarchar(16) 'Line'" json:"QM_ReclinerReclst-Line"`
  24. ArtId string `xorm:"nvarchar(64) 'ArtId'" json:"QM_ReclinerReclst-ArtId"`
  25. SerialOrderId string `xorm:"nvarchar(100) 'SerialOrderId'" json:"QM_ReclinerReclst-SerialOrderId"`
  26. ReclinerNr string `xorm:"nvarchar(64) 'ReclinerNr'" json:"QM_ReclinerReclst-ReclinerNr"`
  27. ItemPartNr string `xorm:"nvarchar(64) 'ItemPartNr'" json:"QM_ReclinerReclst-ItemPartNr"`
  28. PrinterId string `xorm:"nvarchar(64) 'PrinterId'" json:"QM_ReclinerReclst-PrinterId"`
  29. WorkPlaceNr int `xorm:"int 'WorkPlaceNr'" json:"QM_ReclinerReclst-WorkPlaceNr"`
  30. Status string `xorm:"nvarchar(16) 'Status'" json:"QM_ReclinerReclst-Status"`
  31. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"QM_ReclinerReclst-LastModify"`
  32. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"QM_ReclinerReclst-LastUser"`
  33. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"QM_ReclinerReclst-CreateTime"`
  34. }
  35. /******************************************************************************
  36. *
  37. * @Function Name : GetKey
  38. *-----------------------------------------------------------------------------
  39. *
  40. * @Description : 获取实体的主键
  41. *
  42. * @Return Value : 实体的主键
  43. *
  44. * @Author : 代码生成器创建
  45. *
  46. * @Date : 2021-07-12 14:05:20
  47. *
  48. ******************************************************************************/
  49. func (self *ReclinerReclst) GetKey() core.PK {
  50. return core.PK{self.PlantNr, self.RecNr}
  51. }