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.

62 lines
3.8 KiB

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