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