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

46 lines
1.7 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package report
  3. import (
  4. "xorm.io/core"
  5. )
  6. /******************************************************************************
  7. *
  8. * @Struct Name : ArcDisplayInfo
  9. *-----------------------------------------------------------------------------
  10. *
  11. * @Description : ArcDisplayInfo的实体映射
  12. *
  13. * @Author : 代码生成器创建
  14. *
  15. * @Date : 2021-06-21 11:39:48
  16. *
  17. ******************************************************************************/
  18. type ArcDisplayInfo struct {
  19. Pos int `xorm:"pk int 'Pos'" json:"ArcDisplayInfo-Pos"`
  20. DescCN string `xorm:"pk nvarchar(50) 'DescCN'" json:"ArcDisplayInfo-DescCN"`
  21. StandardValue float64 `xorm:"float 'StandardValue' not null" json:"ArcDisplayInfo-StandardValue"`
  22. StatisticField string `xorm:"nvarchar(40) 'StatisticField' not null" json:"ArcDisplayInfo-StatisticField"`
  23. Title string `xorm:"nvarchar(100) 'Title' not null" json:"ArcDisplayInfo-Title"`
  24. Uom string `xorm:"nvarchar(20) 'Uom' not null" json:"ArcDisplayInfo-Uom"`
  25. }
  26. /******************************************************************************
  27. *
  28. * @Function Name : GetKey
  29. *-----------------------------------------------------------------------------
  30. *
  31. * @Description : 获取实体的主键
  32. *
  33. * @Return Value : 实体的主键
  34. *
  35. * @Author : 代码生成器创建
  36. *
  37. * @Date : 2021-06-21 11:39:48
  38. *
  39. ******************************************************************************/
  40. func (self *ArcDisplayInfo) GetKey() core.PK {
  41. return core.PK{self.Pos, self.DescCN}
  42. }