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

57 lines
2.9 KiB

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