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

58 lines
2.9 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 : GoodsIssueLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : GoodsIssueLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-29 10:57:04
  17. *
  18. ******************************************************************************/
  19. type GoodsIssueLst struct {
  20. GoodsIssueId string `xorm:"pk nvarchar(40) 'GoodsIssueId'" json:"WM_GoodsIssueLst-GoodsIssueId"`
  21. GIPos int `xorm:"pk int 'GIPos'" json:"WM_GoodsIssueLst-GIPos"`
  22. GILPos int `xorm:"pk int 'GILPos'" json:"WM_GoodsIssueLst-GILPos"`
  23. WarehouseId string `xorm:"nvarchar(40) 'WarehouseId' not null" json:"WM_GoodsIssueLst-WarehouseId"`
  24. StorageAreaId string `xorm:"nvarchar(40) 'StorageAreaId' not null" json:"WM_GoodsIssueLst-StorageAreaId"`
  25. StorageBinId string `xorm:"nvarchar(40) 'StorageBinId' not null" json:"WM_GoodsIssueLst-StorageBinId"`
  26. StorageRackId string `xorm:"nvarchar(40) 'StorageRackId' not null" json:"WM_GoodsIssueLst-StorageRackId"`
  27. Qty float64 `xorm:"float 'Qty' not null" json:"WM_GoodsIssueLst-Qty"`
  28. CtrlPara1 string `xorm:"nvarchar(100) 'CtrlPara1' not null" json:"WM_GoodsIssueLst-CtrlPara1"`
  29. CtrlPara2 string `xorm:"nvarchar(100) 'CtrlPara2' not null" json:"WM_GoodsIssueLst-CtrlPara2"`
  30. CtrlPara3 int `xorm:"int 'CtrlPara3' not null" json:"WM_GoodsIssueLst-CtrlPara3"`
  31. CtrlPara4 int `xorm:"int 'CtrlPara4' not null" json:"WM_GoodsIssueLst-CtrlPara4"`
  32. CtrlPara5 float64 `xorm:"float 'CtrlPara5' not null" json:"WM_GoodsIssueLst-CtrlPara5"`
  33. CtrlPara6 float64 `xorm:"float 'CtrlPara6' not null" json:"WM_GoodsIssueLst-CtrlPara6"`
  34. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_GoodsIssueLst-LastModify"`
  35. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_GoodsIssueLst-LastUser"`
  36. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_GoodsIssueLst-CreateTime"`
  37. }
  38. /******************************************************************************
  39. *
  40. * @Function Name : GetKey
  41. *-----------------------------------------------------------------------------
  42. *
  43. * @Description : 获取实体的主键
  44. *
  45. * @Return Value : 实体的主键
  46. *
  47. * @Author : 代码生成器创建
  48. *
  49. * @Date : 2021-06-29 10:57:04
  50. *
  51. ******************************************************************************/
  52. func (self *GoodsIssueLst) GetKey() core.PK {
  53. return core.PK{self.GoodsIssueId, self.GIPos, self.GILPos}
  54. }