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.

64 lines
3.5 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package wm
  3. import (
  4. "LAPP_LF_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : StorageArea
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : StorageArea的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-29 10:57:04
  17. *
  18. ******************************************************************************/
  19. type StorageArea struct {
  20. StorageAreaId string `xorm:"pk nvarchar(40) 'StorageAreaId'" json:"WM_StorageArea-StorageAreaId"`
  21. WarehouseId string `xorm:"pk nvarchar(40) 'WarehouseId'" json:"WM_StorageArea-WarehouseId"`
  22. Descr string `xorm:"nvarchar(100) 'Descr' not null" json:"WM_StorageArea-Descr"`
  23. Status string `xorm:"nvarchar(3) 'Status' not null" json:"WM_StorageArea-Status"`
  24. AreaCtrlPara1 int `xorm:"int 'AreaCtrlPara1' not null" json:"WM_StorageArea-AreaCtrlPara1"`
  25. AreaCtrlPara2 int `xorm:"int 'AreaCtrlPara2' not null" json:"WM_StorageArea-AreaCtrlPara2"`
  26. AreaCtrlPara3 int `xorm:"int 'AreaCtrlPara3' not null" json:"WM_StorageArea-AreaCtrlPara3"`
  27. AreaCtrlPara4 int `xorm:"int 'AreaCtrlPara4' not null" json:"WM_StorageArea-AreaCtrlPara4"`
  28. AreaCtrlPara5 string `xorm:"nvarchar(255) 'AreaCtrlPara5'" json:"WM_StorageArea-AreaCtrlPara5"`
  29. AreaCtrlPara6 string `xorm:"nvarchar(255) 'AreaCtrlPara6'" json:"WM_StorageArea-AreaCtrlPara6"`
  30. AreaCtrlPara7 string `xorm:"nvarchar(255) 'AreaCtrlPara7'" json:"WM_StorageArea-AreaCtrlPara7"`
  31. AreaCtrlPara8 string `xorm:"nvarchar(255) 'AreaCtrlPara8'" json:"WM_StorageArea-AreaCtrlPara8"`
  32. AreaCtrlPara9 float64 `xorm:"float 'AreaCtrlPara9'" json:"WM_StorageArea-AreaCtrlPara9"`
  33. AreaCtrlPara10 float64 `xorm:"float 'AreaCtrlPara10'" json:"WM_StorageArea-AreaCtrlPara10"`
  34. AreaCtrlPara11 float64 `xorm:"float 'AreaCtrlPara11'" json:"WM_StorageArea-AreaCtrlPara11"`
  35. AreaCtrlPara12 float64 `xorm:"float 'AreaCtrlPara12'" json:"WM_StorageArea-AreaCtrlPara12"`
  36. AreaCtrlPara13 grmi.DateTime `xorm:"datetime 'AreaCtrlPara13'" json:"WM_StorageArea-AreaCtrlPara13"`
  37. AreaCtrlPara14 grmi.DateTime `xorm:"datetime 'AreaCtrlPara14'" json:"WM_StorageArea-AreaCtrlPara14"`
  38. AreaCtrlPara15 grmi.DateTime `xorm:"datetime 'AreaCtrlPara15'" json:"WM_StorageArea-AreaCtrlPara15"`
  39. AreaCtrlPara16 grmi.DateTime `xorm:"datetime 'AreaCtrlPara16'" json:"WM_StorageArea-AreaCtrlPara16"`
  40. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_StorageArea-LastModify"`
  41. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_StorageArea-LastUser"`
  42. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_StorageArea-CreateTime"`
  43. }
  44. /******************************************************************************
  45. *
  46. * @Function Name : GetKey
  47. *-----------------------------------------------------------------------------
  48. *
  49. * @Description : 获取实体的主键
  50. *
  51. * @Return Value : 实体的主键
  52. *
  53. * @Author : 代码生成器创建
  54. *
  55. * @Date : 2021-06-29 10:57:04
  56. *
  57. ******************************************************************************/
  58. func (self *StorageArea) GetKey() core.PK {
  59. return core.PK{self.StorageAreaId, self.WarehouseId}
  60. }