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.

55 lines
2.7 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 : ArticleReplenish
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ArticleReplenish的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-29 10:57:04
  17. *
  18. ******************************************************************************/
  19. type ArticleReplenish struct {
  20. ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"WM_ArticleReplenish-ArtId"`
  21. MinQty float64 `xorm:"float 'MinQty' not null" json:"WM_ArticleReplenish-MinQty"`
  22. MaxQty float64 `xorm:"float 'MaxQty' not null" json:"WM_ArticleReplenish-MaxQty"`
  23. ReplenishQty float64 `xorm:"float 'ReplenishQty' not null" json:"WM_ArticleReplenish-ReplenishQty"`
  24. ReplenishFrom string `xorm:"nvarchar(255) 'ReplenishFrom' not null" json:"WM_ArticleReplenish-ReplenishFrom"`
  25. ARCtrlPara1 string `xorm:"nvarchar(100) 'ARCtrlPara1' not null" json:"WM_ArticleReplenish-ARCtrlPara1"`
  26. ARCtrlPara2 string `xorm:"nvarchar(100) 'ARCtrlPara2' not null" json:"WM_ArticleReplenish-ARCtrlPara2"`
  27. ARCtrlPara3 int `xorm:"int 'ARCtrlPara3' not null" json:"WM_ArticleReplenish-ARCtrlPara3"`
  28. ARCtrlPara4 int `xorm:"int 'ARCtrlPara4' not null" json:"WM_ArticleReplenish-ARCtrlPara4"`
  29. ARCtrlPara5 float64 `xorm:"float 'ARCtrlPara5' not null" json:"WM_ArticleReplenish-ARCtrlPara5"`
  30. ARCtrlPara6 float64 `xorm:"float 'ARCtrlPara6' not null" json:"WM_ArticleReplenish-ARCtrlPara6"`
  31. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_ArticleReplenish-LastModify"`
  32. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_ArticleReplenish-LastUser"`
  33. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_ArticleReplenish-CreateTime"`
  34. }
  35. /******************************************************************************
  36. *
  37. * @Function Name : GetKey
  38. *-----------------------------------------------------------------------------
  39. *
  40. * @Description : 获取实体的主键
  41. *
  42. * @Return Value : 实体的主键
  43. *
  44. * @Author : 代码生成器创建
  45. *
  46. * @Date : 2021-06-29 10:57:04
  47. *
  48. ******************************************************************************/
  49. func (self *ArticleReplenish) GetKey() core.PK {
  50. return core.PK{self.ArtId}
  51. }