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

55 lines
2.7 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package om
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : SerialOrderPOLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : SerialOrderPOLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-07-29 17:19:37
  17. *
  18. ******************************************************************************/
  19. type SerialOrderPOLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"OM_SerialOrderPOLst-PlantNr"`
  21. SerialOrderId string `xorm:"pk nvarchar(100) 'SerialOrderId'" json:"OM_SerialOrderPOLst-SerialOrderId"`
  22. PO string `xorm:"pk nvarchar(40) 'PO'" json:"OM_SerialOrderPOLst-PO"`
  23. Status int `xorm:"int 'Status' not null" json:"OM_SerialOrderPOLst-Status"`
  24. HasDependOn bool `xorm:"bit 'HasDependOn' not null" json:"OM_SerialOrderPOLst-HasDependOn"`
  25. SWCtrlPara1 string `xorm:"nvarchar(40) 'SWCtrlPara1' not null" json:"OM_SerialOrderPOLst-SWCtrlPara1"`
  26. SWCtrlPara2 string `xorm:"nvarchar(40) 'SWCtrlPara2' not null" json:"OM_SerialOrderPOLst-SWCtrlPara2"`
  27. SWCtrlPara3 int `xorm:"int 'SWCtrlPara3' not null" json:"OM_SerialOrderPOLst-SWCtrlPara3"`
  28. SWCtrlPara4 int `xorm:"int 'SWCtrlPara4' not null" json:"OM_SerialOrderPOLst-SWCtrlPara4"`
  29. SWCtrlPara5 float64 `xorm:"float 'SWCtrlPara5' not null" json:"OM_SerialOrderPOLst-SWCtrlPara5"`
  30. SWCtrlPara6 float64 `xorm:"float 'SWCtrlPara6' not null" json:"OM_SerialOrderPOLst-SWCtrlPara6"`
  31. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"OM_SerialOrderPOLst-LastModify"`
  32. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"OM_SerialOrderPOLst-LastUser"`
  33. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"OM_SerialOrderPOLst-CreateTime"`
  34. }
  35. /******************************************************************************
  36. *
  37. * @Function Name : GetKey
  38. *-----------------------------------------------------------------------------
  39. *
  40. * @Description : 获取实体的主键
  41. *
  42. * @Return Value : 实体的主键
  43. *
  44. * @Author : 代码生成器创建
  45. *
  46. * @Date : 2021-07-29 17:19:37
  47. *
  48. ******************************************************************************/
  49. func (self *SerialOrderPOLst) GetKey() core.PK {
  50. return core.PK{self.PlantNr, self.SerialOrderId, self.PO}
  51. }