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

50 lines
2.2 KiB

  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 : HondaDemandErrorLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : HondaDemandErrorLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-10-20 09:58:33
  17. *
  18. ******************************************************************************/
  19. type HondaDemandErrorLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"PLN_HondaDemandErrorLst-PlantNr"`
  21. DemandId string `xorm:"pk nvarchar(40) 'DemandId'" json:"PLN_HondaDemandErrorLst-DemandId"`
  22. Pos int `xorm:"pk int 'Pos'" json:"PLN_HondaDemandErrorLst-Pos"`
  23. ErrorType string `xorm:"nvarchar(20) 'ErrorType' not null" json:"PLN_HondaDemandErrorLst-ErrorType"`
  24. ErrorInfo string `xorm:"nvarchar(255) 'ErrorInfo' not null" json:"PLN_HondaDemandErrorLst-ErrorInfo"`
  25. ErrorStatus string `xorm:"nvarchar(1) 'ErrorStatus' not null" json:"PLN_HondaDemandErrorLst-ErrorStatus"`
  26. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PLN_HondaDemandErrorLst-LastModify"`
  27. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PLN_HondaDemandErrorLst-LastUser"`
  28. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PLN_HondaDemandErrorLst-CreateTime"`
  29. }
  30. /******************************************************************************
  31. *
  32. * @Function Name : GetKey
  33. *-----------------------------------------------------------------------------
  34. *
  35. * @Description : 获取实体的主键
  36. *
  37. * @Return Value : 实体的主键
  38. *
  39. * @Author : 代码生成器创建
  40. *
  41. * @Date : 2021-10-20 09:58:33
  42. *
  43. ******************************************************************************/
  44. func (self *HondaDemandErrorLst) GetKey() core.PK {
  45. return core.PK{self.PlantNr, self.DemandId, self.Pos}
  46. }