广汽安道拓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.

52 lines
2.3 KiB

  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 : SerialOrderRuting
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : SerialOrderRuting的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-25 11:18:25
  17. *
  18. ******************************************************************************/
  19. type SerialOrderRuting struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"QM_SerialOrderRuting-PlantNr"`
  21. SerialorderId string `xorm:"pk nvarchar(32) 'SerialorderId'" json:"QM_SerialOrderRuting-SerialorderId"`
  22. ArtId string `xorm:"nvarchar(32) 'ArtId'" json:"QM_SerialOrderRuting-ArtId"`
  23. WorkPlaceNr int `xorm:"int 'WorkPlaceNr'" json:"QM_SerialOrderRuting-WorkPlaceNr"`
  24. Status int `xorm:"int 'Status'" json:"QM_SerialOrderRuting-Status"`
  25. IsPack int `xorm:"int 'IsPack'" json:"QM_SerialOrderRuting-IsPack"`
  26. Remark string `xorm:"nvarchar(255) 'Remark'" json:"QM_SerialOrderRuting-Remark"`
  27. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"QM_SerialOrderRuting-LastModify"`
  28. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"QM_SerialOrderRuting-LastUser"`
  29. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"QM_SerialOrderRuting-CreateTime"`
  30. DefectRecord []DefectRecord `xorm:"-" json:"QM_SerialOrderRuting-DefectRecord"`
  31. }
  32. /******************************************************************************
  33. *
  34. * @Function Name : GetKey
  35. *-----------------------------------------------------------------------------
  36. *
  37. * @Description : 获取实体的主键
  38. *
  39. * @Return Value : 实体的主键
  40. *
  41. * @Author : 代码生成器创建
  42. *
  43. * @Date : 2021-06-25 11:18:25
  44. *
  45. ******************************************************************************/
  46. func (self *SerialOrderRuting) GetKey() core.PK {
  47. return core.PK{self.PlantNr, self.SerialorderId}
  48. }