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

52 lines
2.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package pln
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : DashBoardHead
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : DashBoardHead的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2022-08-18 14:29:17
  17. *
  18. ******************************************************************************/
  19. type DashBoardHead struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"DashBoardHead-PlantNr"`
  21. RefreshTime string `xorm:"pk nvarchar(20) 'RefreshTime'" json:"DashBoardHead-RefreshTime"`
  22. WorkLineId string `xorm:"pk nvarchar(40) 'WorkLineId'" json:"DashBoardHead-WorkLineId"`
  23. DayModel int `xorm:"int 'DayModel'" json:"DashBoardHead-DayModel"`
  24. PersonNum int `xorm:"int 'PersonNum'" json:"DashBoardHead-PersonNum"`
  25. Days int `xorm:"int 'Days'" json:"DashBoardHead-Days"`
  26. JPHPercent float64 `xorm:"float 'JPHPercent'" json:"DashBoardHead-JPHPercent"`
  27. CurrentTempo int `xorm:"int 'CurrentTempo'" json:"DashBoardHead-CurrentTempo"`
  28. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"DashBoardHead-LastModify"`
  29. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"DashBoardHead-LastUser"`
  30. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"DashBoardHead-CreateTime"`
  31. }
  32. /******************************************************************************
  33. *
  34. * @Function Name : GetKey
  35. *-----------------------------------------------------------------------------
  36. *
  37. * @Description : 获取实体的主键
  38. *
  39. * @Return Value : 实体的主键
  40. *
  41. * @Author : 代码生成器创建
  42. *
  43. * @Date : 2022-08-18 14:29:17
  44. *
  45. ******************************************************************************/
  46. func (self *DashBoardHead) GetKey() core.PK {
  47. return core.PK{self.PlantNr, self.RefreshTime, self.WorkLineId}
  48. }