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

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