高级排程
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.

65 lines
3.8 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package om
  3. import (
  4. "LAPP_AS/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : WOOperationArtQtyRecLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : WOOperationArtQtyRecLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-08-20 14:06:46
  17. *
  18. ******************************************************************************/
  19. type WOOperationArtQtyRecLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"OM_WOOperationArtQtyRecLst-PlantNr"`
  21. WorkOrderId string `xorm:"pk nvarchar(40) 'WorkOrderId'" json:"OM_WOOperationArtQtyRecLst-WorkOrderId"`
  22. OperationNr int `xorm:"pk int 'OperationNr'" json:"OM_WOOperationArtQtyRecLst-OperationNr"`
  23. SplitNr int `xorm:"pk int 'SplitNr'" json:"OM_WOOperationArtQtyRecLst-SplitNr"`
  24. Pos int `xorm:"pk int 'Pos'" json:"OM_WOOperationArtQtyRecLst-Pos"`
  25. ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"OM_WOOperationArtQtyRecLst-ArtId"`
  26. ActQty float64 `xorm:"float 'ActQty' not null" json:"OM_WOOperationArtQtyRecLst-ActQty"`
  27. QtyUomId string `xorm:"nvarchar(40) 'QtyUomId' not null" json:"OM_WOOperationArtQtyRecLst-QtyUomId"`
  28. BatchId string `xorm:"nvarchar(100) 'BatchId' not null" json:"OM_WOOperationArtQtyRecLst-BatchId"`
  29. ArtTypeId string `xorm:"nvarchar(40) 'ArtTypeId' not null" json:"OM_WOOperationArtQtyRecLst-ArtTypeId"`
  30. WorkPlaceNr int `xorm:"int 'WorkPlaceNr' not null" json:"OM_WOOperationArtQtyRecLst-WorkPlaceNr"`
  31. ConsumeTime grmi.DateTime `xorm:"datetime 'ConsumeTime'" json:"OM_WOOperationArtQtyRecLst-ConsumeTime"`
  32. WarehouseNr int `xorm:"int 'WarehouseNr' not null" json:"OM_WOOperationArtQtyRecLst-WarehouseNr"`
  33. AreaId string `xorm:"nvarchar(40) 'AreaId' not null" json:"OM_WOOperationArtQtyRecLst-AreaId"`
  34. RackId string `xorm:"nvarchar(40) 'RackId' not null" json:"OM_WOOperationArtQtyRecLst-RackId"`
  35. PositionId string `xorm:"nvarchar(40) 'PositionId' not null" json:"OM_WOOperationArtQtyRecLst-PositionId"`
  36. PackageUnit string `xorm:"nvarchar(40) 'PackageUnit' not null" json:"OM_WOOperationArtQtyRecLst-PackageUnit"`
  37. CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"OM_WOOperationArtQtyRecLst-CtrlPara1"`
  38. CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"OM_WOOperationArtQtyRecLst-CtrlPara2"`
  39. CtrlStr1 string `xorm:"nvarchar(100) 'CtrlStr1' not null" json:"OM_WOOperationArtQtyRecLst-CtrlStr1"`
  40. CtrlStr2 string `xorm:"nvarchar(100) 'CtrlStr2' not null" json:"OM_WOOperationArtQtyRecLst-CtrlStr2"`
  41. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"OM_WOOperationArtQtyRecLst-LastModify"`
  42. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"OM_WOOperationArtQtyRecLst-LastUser"`
  43. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"OM_WOOperationArtQtyRecLst-CreateTime"`
  44. }
  45. /******************************************************************************
  46. *
  47. * @Function Name : GetKey
  48. *-----------------------------------------------------------------------------
  49. *
  50. * @Description : 获取实体的主键
  51. *
  52. * @Return Value : 实体的主键
  53. *
  54. * @Author : 代码生成器创建
  55. *
  56. * @Date : 2021-08-20 14:06:46
  57. *
  58. ******************************************************************************/
  59. func (self *WOOperationArtQtyRecLst) GetKey() core.PK {
  60. return core.PK{self.PlantNr, self.WorkOrderId, self.OperationNr, self.SplitNr, self.Pos, self.ArtId}
  61. }