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

59 lines
3.4 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 : ProdOrderQtyRecLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ProdOrderQtyRecLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-03-23 17:06:57
  17. *
  18. ******************************************************************************/
  19. type ProdOrderQtyRecLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"OM_ProdOrderQtyRecLst-PlantNr"`
  21. ProdOrderId string `xorm:"pk nvarchar(40) 'ProdOrderId'" json:"OM_ProdOrderQtyRecLst-ProdOrderId"`
  22. Pos int `xorm:"pk int 'Pos'" json:"OM_ProdOrderQtyRecLst-Pos"`
  23. ActQty float64 `xorm:"float 'ActQty' not null" json:"OM_ProdOrderQtyRecLst-ActQty"`
  24. OrderQtyType string `xorm:"nvarchar(20) 'OrderQtyType' not null" json:"OM_ProdOrderQtyRecLst-OrderQtyType"`
  25. RecordTime string `xorm:"nvarchar(14) 'RecordTime' not null" json:"OM_ProdOrderQtyRecLst-RecordTime"`
  26. TriggerEvent string `xorm:"nvarchar(40) 'TriggerEvent' not null" json:"OM_ProdOrderQtyRecLst-TriggerEvent"`
  27. TriggerObjectId string `xorm:"nvarchar(40) 'TriggerObjectId' not null" json:"OM_ProdOrderQtyRecLst-TriggerObjectId"`
  28. TriggerSubObjectId string `xorm:"nvarchar(40) 'TriggerSubObjectId' not null" json:"OM_ProdOrderQtyRecLst-TriggerSubObjectId"`
  29. OutputEvent string `xorm:"nvarchar(40) 'OutputEvent' not null" json:"OM_ProdOrderQtyRecLst-OutputEvent"`
  30. OutputEventMessageId string `xorm:"nvarchar(40) 'OutputEventMessageId' not null" json:"OM_ProdOrderQtyRecLst-OutputEventMessageId"`
  31. OutputObjectId string `xorm:"nvarchar(40) 'OutputObjectId' not null" json:"OM_ProdOrderQtyRecLst-OutputObjectId"`
  32. OutputSubObjectId string `xorm:"nvarchar(40) 'OutputSubObjectId' not null" json:"OM_ProdOrderQtyRecLst-OutputSubObjectId"`
  33. Remark1 string `xorm:"nvarchar(100) 'Remark1' not null" json:"OM_ProdOrderQtyRecLst-Remark1"`
  34. Remark2 string `xorm:"nvarchar(100) 'Remark2' not null" json:"OM_ProdOrderQtyRecLst-Remark2"`
  35. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"OM_ProdOrderQtyRecLst-LastModify"`
  36. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"OM_ProdOrderQtyRecLst-LastUser"`
  37. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"OM_ProdOrderQtyRecLst-CreateTime"`
  38. }
  39. /******************************************************************************
  40. *
  41. * @Function Name : GetKey
  42. *-----------------------------------------------------------------------------
  43. *
  44. * @Description : 获取实体的主键
  45. *
  46. * @Return Value : 实体的主键
  47. *
  48. * @Author : 代码生成器创建
  49. *
  50. * @Date : 2021-03-23 17:06:57
  51. *
  52. ******************************************************************************/
  53. func (self *ProdOrderQtyRecLst) GetKey() core.PK {
  54. return core.PK{self.PlantNr, self.ProdOrderId, self.Pos}
  55. }