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

49 lines
2.0 KiB

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