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

58 lines
3.0 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package ods
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : ArtRouteStepOdsLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ArtRouteStepOdsLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-04-22 16:01:03
  17. *
  18. ******************************************************************************/
  19. type ArtRouteStepOdsLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"ODS_ArtRouteStepOdsLst-PlantNr"`
  21. ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"ODS_ArtRouteStepOdsLst-ArtId"`
  22. OperationNr int `xorm:"pk int 'OperationNr'" json:"ODS_ArtRouteStepOdsLst-OperationNr"`
  23. Step int `xorm:"pk int 'Step'" json:"ODS_ArtRouteStepOdsLst-Step"`
  24. Pos int `xorm:"pk int 'Pos'" json:"ODS_ArtRouteStepOdsLst-Pos"`
  25. Descr string `xorm:"nvarchar(100) 'Descr' not null" json:"ODS_ArtRouteStepOdsLst-Descr"`
  26. OdsId string `xorm:"nvarchar(40) 'OdsId' not null" json:"ODS_ArtRouteStepOdsLst-OdsId"`
  27. OdsTypeId string `xorm:"nvarchar(40) 'OdsTypeId' not null" json:"ODS_ArtRouteStepOdsLst-OdsTypeId"`
  28. OdsContentIdx string `xorm:"nvarchar(255) 'OdsContentIdx' not null" json:"ODS_ArtRouteStepOdsLst-OdsContentIdx"`
  29. CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"ODS_ArtRouteStepOdsLst-CtrlPara1"`
  30. CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"ODS_ArtRouteStepOdsLst-CtrlPara2"`
  31. CtrlPara3 string `xorm:"nvarchar(100) 'CtrlPara3' not null" json:"ODS_ArtRouteStepOdsLst-CtrlPara3"`
  32. CtrlPara4 string `xorm:"nvarchar(100) 'CtrlPara4' not null" json:"ODS_ArtRouteStepOdsLst-CtrlPara4"`
  33. WorkPlaceNr int `xorm:"int 'WorkPlaceNr' not null" json:"ODS_ArtRouteStepOdsLst-WorkPlaceNr"`
  34. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"ODS_ArtRouteStepOdsLst-LastModify"`
  35. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"ODS_ArtRouteStepOdsLst-LastUser"`
  36. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"ODS_ArtRouteStepOdsLst-CreateTime"`
  37. }
  38. /******************************************************************************
  39. *
  40. * @Function Name : GetKey
  41. *-----------------------------------------------------------------------------
  42. *
  43. * @Description : 获取实体的主键
  44. *
  45. * @Return Value : 实体的主键
  46. *
  47. * @Author : 代码生成器创建
  48. *
  49. * @Date : 2021-03-23 17:06:57
  50. *
  51. ******************************************************************************/
  52. func (self *ArtRouteStepOdsLst) GetKey() core.PK {
  53. return core.PK{self.PlantNr, self.ArtId, self.OperationNr, self.Step, self.Pos}
  54. }