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