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

50 lines
2.3 KiB

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