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.

62 lines
3.4 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package om
  3. import (
  4. "LAPP_LF_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : SerialOrderStepLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : SerialOrderStepLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-08-11 10:00:53
  17. *
  18. ******************************************************************************/
  19. type SerialOrderStepLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"OM_SerialOrderStepLst-PlantNr"`
  21. SerialOrderId string `xorm:"pk nvarchar(100) 'SerialOrderId'" json:"OM_SerialOrderStepLst-SerialOrderId"`
  22. OperationId int `xorm:"pk int 'OperationId'" json:"OM_SerialOrderStepLst-OperationId"`
  23. PO int `xorm:"int 'PO' not null" json:"OM_SerialOrderStepLst-PO"`
  24. StepNo int `xorm:"int 'StepNo' not null" json:"OM_SerialOrderStepLst-StepNo"`
  25. Pos int `xorm:"int 'Pos' not null" json:"OM_SerialOrderStepLst-Pos"`
  26. Status int `xorm:"int 'Status' not null" json:"OM_SerialOrderStepLst-Status"`
  27. StepType string `xorm:"nvarchar(40) 'StepType' not null" json:"OM_SerialOrderStepLst-StepType"`
  28. StepDesc string `xorm:"nvarchar(200) 'StepDesc' not null" json:"OM_SerialOrderStepLst-StepDesc"`
  29. SubArtId string `xorm:"nvarchar(40) 'SubArtId' not null" json:"OM_SerialOrderStepLst-SubArtId"`
  30. AttrCode int `xorm:"int 'AttrCode' not null" json:"OM_SerialOrderStepLst-AttrCode"`
  31. AttrValue string `xorm:"nvarchar(100) 'AttrValue' not null" json:"OM_SerialOrderStepLst-AttrValue"`
  32. SSCtrlPara1 string `xorm:"nvarchar(40) 'SSCtrlPara1' not null" json:"OM_SerialOrderStepLst-SSCtrlPara1"`
  33. SSCtrlPara2 string `xorm:"nvarchar(40) 'SSCtrlPara2' not null" json:"OM_SerialOrderStepLst-SSCtrlPara2"`
  34. SSCtrlPara3 int `xorm:"int 'SSCtrlPara3' not null" json:"OM_SerialOrderStepLst-SSCtrlPara3"`
  35. SSCtrlPara4 int `xorm:"int 'SSCtrlPara4' not null" json:"OM_SerialOrderStepLst-SSCtrlPara4"`
  36. SSCtrlPara5 float64 `xorm:"float 'SSCtrlPara5' not null" json:"OM_SerialOrderStepLst-SSCtrlPara5"`
  37. SSCtrlPara6 float64 `xorm:"float 'SSCtrlPara6' not null" json:"OM_SerialOrderStepLst-SSCtrlPara6"`
  38. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"OM_SerialOrderStepLst-LastModify"`
  39. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"OM_SerialOrderStepLst-LastUser"`
  40. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"OM_SerialOrderStepLst-CreateTime"`
  41. }
  42. /******************************************************************************
  43. *
  44. * @Function Name : GetKey
  45. *-----------------------------------------------------------------------------
  46. *
  47. * @Description : 获取实体的主键
  48. *
  49. * @Return Value : 实体的主键
  50. *
  51. * @Author : 代码生成器创建
  52. *
  53. * @Date : 2021-08-11 10:00:53
  54. *
  55. ******************************************************************************/
  56. func (self *SerialOrderStepLst) GetKey() core.PK {
  57. return core.PK{self.PlantNr, self.SerialOrderId, self.OperationId}
  58. }