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

56 lines
3.0 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 : InventoryCheckDetail
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : InventoryCheckDetail的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-07-08 10:08:33
  17. *
  18. ******************************************************************************/
  19. type InventoryCheckDetail struct {
  20. InventoryCheckId string `xorm:"pk nvarchar(40) 'InventoryCheckId'" json:"WM_InventoryCheckDetail-InventoryCheckId"`
  21. ICDPos int `xorm:"pk int 'ICDPos'" json:"WM_InventoryCheckDetail-ICDPos"`
  22. Descr string `xorm:"nvarchar(100) 'Descr' not null" json:"WM_InventoryCheckDetail-Descr"`
  23. StorageBinId string `xorm:"nvarchar(40) 'StorageBinId' not null" json:"WM_InventoryCheckDetail-StorageBinId"`
  24. WarehouseId string `xorm:"nvarchar(40) 'WarehouseId' not null" json:"WM_InventoryCheckDetail-WarehouseId"`
  25. ICCtrlPara1 int `xorm:"int 'ICCtrlPara1' not null" json:"WM_InventoryCheckDetail-ICCtrlPara1"`
  26. ICCtrlPara2 int `xorm:"int 'ICCtrlPara2' not null" json:"WM_InventoryCheckDetail-ICCtrlPara2"`
  27. ICCtrlPara3 string `xorm:"nvarchar(255) 'ICCtrlPara3'" json:"WM_InventoryCheckDetail-ICCtrlPara3"`
  28. ICCtrlPara4 string `xorm:"nvarchar(255) 'ICCtrlPara4'" json:"WM_InventoryCheckDetail-ICCtrlPara4"`
  29. ICCtrlPara5 float64 `xorm:"float 'ICCtrlPara5'" json:"WM_InventoryCheckDetail-ICCtrlPara5"`
  30. ICCtrlPara6 float64 `xorm:"float 'ICCtrlPara6'" json:"WM_InventoryCheckDetail-ICCtrlPara6"`
  31. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_InventoryCheckDetail-LastModify"`
  32. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_InventoryCheckDetail-LastUser"`
  33. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_InventoryCheckDetail-CreateTime"`
  34. InventoryCheckLstLi []InventoryCheckLst `xorm:"-" json:"WM_InventoryCheckDetail-InventoryCheckLstLi"`
  35. }
  36. /******************************************************************************
  37. *
  38. * @Function Name : GetKey
  39. *-----------------------------------------------------------------------------
  40. *
  41. * @Description : 获取实体的主键
  42. *
  43. * @Return Value : 实体的主键
  44. *
  45. * @Author : 代码生成器创建
  46. *
  47. * @Date : 2021-07-08 10:08:33
  48. *
  49. ******************************************************************************/
  50. func (self *InventoryCheckDetail) GetKey() core.PK {
  51. return core.PK{self.InventoryCheckId, self.ICDPos}
  52. }