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

63 lines
3.6 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package wm
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : InventoryCheckLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : InventoryCheckLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-07-08 10:08:33
  17. *
  18. ******************************************************************************/
  19. type InventoryCheckLst struct {
  20. InventoryCheckId string `xorm:"pk nvarchar(40) 'InventoryCheckId'" json:"WM_InventoryCheckLst-InventoryCheckId"`
  21. ICDPos int `xorm:"pk int 'ICDPos'" json:"WM_InventoryCheckLst-ICDPos"`
  22. ICLPos int `xorm:"pk int 'ICLPos'" json:"WM_InventoryCheckLst-ICLPos"`
  23. StorageBinId string `xorm:"nvarchar(40) 'StorageBinId' not null" json:"WM_InventoryCheckLst-StorageBinId"`
  24. WarehouseId string `xorm:"nvarchar(40) 'WarehouseId' not null" json:"WM_InventoryCheckLst-WarehouseId"`
  25. ArtId string `xorm:"nvarchar(40) 'ArtId' not null" json:"WM_InventoryCheckLst-ArtId"`
  26. ArtName string `xorm:"nvarchar(100) 'ArtName' not null" json:"WM_InventoryCheckLst-ArtName"`
  27. ArtType string `xorm:"nvarchar(40) 'ArtType' not null" json:"WM_InventoryCheckLst-ArtType"`
  28. OriginQty float64 `xorm:"float 'OriginQty' not null" json:"WM_InventoryCheckLst-OriginQty"`
  29. ActQty float64 `xorm:"float 'ActQty' not null" json:"WM_InventoryCheckLst-ActQty"`
  30. QtyUom string `xorm:"nvarchar(40) 'QtyUom' not null" json:"WM_InventoryCheckLst-QtyUom"`
  31. ICLCtrlPara1 int `xorm:"int 'ICLCtrlPara1' not null" json:"WM_InventoryCheckLst-ICLCtrlPara1"`
  32. ICLCtrlPara2 int `xorm:"int 'ICLCtrlPara2' not null" json:"WM_InventoryCheckLst-ICLCtrlPara2"`
  33. ICLCtrlPara3 string `xorm:"nvarchar(255) 'ICLCtrlPara3'" json:"WM_InventoryCheckLst-ICLCtrlPara3"`
  34. ICLCtrlPara4 string `xorm:"nvarchar(255) 'ICLCtrlPara4'" json:"WM_InventoryCheckLst-ICLCtrlPara4"`
  35. ICLCtrlPara5 float64 `xorm:"float 'ICLCtrlPara5'" json:"WM_InventoryCheckLst-ICLCtrlPara5"`
  36. ICLCtrlPara6 float64 `xorm:"float 'ICLCtrlPara6'" json:"WM_InventoryCheckLst-ICLCtrlPara6"`
  37. CheckResult string `xorm:"nvarchar(20) 'CheckResult' not null" json:"WM_InventoryCheckLst-CheckResult"`
  38. ResultExplain string `xorm:"nvarchar(255) 'ResultExplain' not null" json:"WM_InventoryCheckLst-ResultExplain"`
  39. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_InventoryCheckLst-LastModify"`
  40. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_InventoryCheckLst-LastUser"`
  41. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_InventoryCheckLst-CreateTime"`
  42. }
  43. /******************************************************************************
  44. *
  45. * @Function Name : GetKey
  46. *-----------------------------------------------------------------------------
  47. *
  48. * @Description : 获取实体的主键
  49. *
  50. * @Return Value : 实体的主键
  51. *
  52. * @Author : 代码生成器创建
  53. *
  54. * @Date : 2021-07-08 10:08:33
  55. *
  56. ******************************************************************************/
  57. func (self *InventoryCheckLst) GetKey() core.PK {
  58. return core.PK{self.InventoryCheckId, self.ICDPos, self.ICLPos}
  59. }