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.

54 lines
2.4 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package report
  3. import (
  4. "LAPP_LF_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : Display
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : Display的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-24 15:31:29
  17. *
  18. ******************************************************************************/
  19. type Display struct {
  20. DisplayId int `xorm:"pk int 'DisplayId'" json:"RP_Display-DisplayId"`
  21. DisplayName string `xorm:"nvarchar(100) 'DisplayName' not null" json:"RP_Display-DisplayName"`
  22. Title string `xorm:"nvarchar(255) 'Title' not null" json:"RP_Display-Title"`
  23. Source string `xorm:"nvarchar(40) 'Source' not null" json:"RP_Display-Source"`
  24. DPCtrlPara1 int `xorm:"int 'DPCtrlPara1' not null" json:"RP_Display-DPCtrlPara1"`
  25. DPCtrlPara2 int `xorm:"int 'DPCtrlPara2' not null" json:"RP_Display-DPCtrlPara2"`
  26. DPCtrlPara3 string `xorm:"nvarchar(100) 'DPCtrlPara3' not null" json:"RP_Display-DPCtrlPara3"`
  27. DPCtrlPara4 string `xorm:"nvarchar(100) 'DPCtrlPara4' not null" json:"RP_Display-DPCtrlPara4"`
  28. DPCtrlPara5 float64 `xorm:"float 'DPCtrlPara5' not null" json:"RP_Display-DPCtrlPara5"`
  29. DPCtrlPara6 float64 `xorm:"float 'DPCtrlPara6' not null" json:"RP_Display-DPCtrlPara6"`
  30. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"RP_Display-LastModify"`
  31. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"RP_Display-LastUser"`
  32. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"RP_Display-CreateTime"`
  33. }
  34. /******************************************************************************
  35. *
  36. * @Function Name : GetKey
  37. *-----------------------------------------------------------------------------
  38. *
  39. * @Description : 获取实体的主键
  40. *
  41. * @Return Value : 实体的主键
  42. *
  43. * @Author : 代码生成器创建
  44. *
  45. * @Date : 2021-06-24 15:31:29
  46. *
  47. ******************************************************************************/
  48. func (self *Display) GetKey() core.PK {
  49. return core.PK{self.DisplayId}
  50. }