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

53 lines
2.3 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package base
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : AndonInfo
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : AndonInfo的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2022-01-06 14:56:42
  17. *
  18. ******************************************************************************/
  19. type AndonInfo struct {
  20. WorkLineId string `xorm:"nvarchar(40) 'WorkLineId' not null" json:"AndonInfo-WorkLineId"`
  21. PO string `xorm:"nvarchar(40) 'PO' not null" json:"AndonInfo-PO"`
  22. WorkPlaceId string `xorm:"nvarchar(40) 'WorkPlaceId' not null" json:"AndonInfo-WorkPlaceId"`
  23. WorkPlaceNr int `xorm:"int 'WorkPlaceNr' not null" json:"AndonInfo-WorkPlaceNr"`
  24. SerialId string `xorm:"nvarchar(15) 'SerialId' not null" json:"AndonInfo-SerialId"`
  25. OperationId int `xorm:"int 'OperationId' not null" json:"AndonInfo-OperationId"`
  26. RuleId int `xorm:"int 'RuleId' not null" json:"AndonInfo-RuleId"`
  27. RuleDesc string `xorm:"nvarchar(100) 'RuleDesc' not null" json:"AndonInfo-RuleDesc"`
  28. CallTime grmi.DateTime `xorm:"datetime 'CallTime' not null" json:"AndonInfo-CallTime"`
  29. ManageTime grmi.DateTime `xorm:"datetime 'ManageTime' not null" json:"AndonInfo-ManageTime"`
  30. IsActive bool `xorm:"bit 'isActive' not null" json:"AndonInfo-isActive"`
  31. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AndonInfo-CreateTime"`
  32. }
  33. /******************************************************************************
  34. *
  35. * @Function Name : GetKey
  36. *-----------------------------------------------------------------------------
  37. *
  38. * @Description : 获取实体的主键
  39. *
  40. * @Return Value : 实体的主键
  41. *
  42. * @Author : 代码生成器创建
  43. *
  44. * @Date : 2022-01-06 14:56:42
  45. *
  46. ******************************************************************************/
  47. func (self *AndonInfo) GetKey() core.PK {
  48. return core.PK{}
  49. }