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

59 lines
3.0 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package me
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : ShipableAUConfig
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ShipableAUConfig的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2022-02-24 09:49:31
  17. *
  18. ******************************************************************************/
  19. type ShipableAUConfig struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"ME_ShipableAUConfig-PlantNr"`
  21. ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"ME_ShipableAUConfig-ArtId"`
  22. AuPo string `xorm:"nvarchar(40) 'AuPo' not null" json:"ME_ShipableAUConfig-AuPo"`
  23. AuPlantNr int `xorm:"int 'AuPlantNr' not null" json:"ME_ShipableAUConfig-AuPlantNr"`
  24. BarCodeRule string `xorm:"nvarchar(40) 'BarCodeRule' not null" json:"ME_ShipableAUConfig-BarCodeRule"`
  25. AggregateRule string `xorm:"nvarchar(40) 'AggregateRule' not null" json:"ME_ShipableAUConfig-AggregateRule"`
  26. StrPara1 string `xorm:"nvarchar(100) 'StrPara1'" json:"ME_ShipableAUConfig-StrPara1"`
  27. StrPara2 string `xorm:"nvarchar(100) 'StrPara2'" json:"ME_ShipableAUConfig-StrPara2"`
  28. StrPara3 string `xorm:"nvarchar(100) 'StrPara3'" json:"ME_ShipableAUConfig-StrPara3"`
  29. IntPara1 int `xorm:"int 'IntPara1'" json:"ME_ShipableAUConfig-IntPara1"`
  30. IntPara2 int `xorm:"int 'IntPara2'" json:"ME_ShipableAUConfig-IntPara2"`
  31. IntPara3 int `xorm:"int 'IntPara3'" json:"ME_ShipableAUConfig-IntPara3"`
  32. Toggle1 bool `xorm:"bit 'Toggle1'" json:"ME_ShipableAUConfig-Toggle1"`
  33. Toggle2 bool `xorm:"bit 'Toggle2'" json:"ME_ShipableAUConfig-Toggle2"`
  34. Toggle3 bool `xorm:"bit 'Toggle3'" json:"ME_ShipableAUConfig-Toggle3"`
  35. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"ME_ShipableAUConfig-LastModify"`
  36. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"ME_ShipableAUConfig-LastUser"`
  37. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"ME_ShipableAUConfig-CreateTime"`
  38. }
  39. /******************************************************************************
  40. *
  41. * @Function Name : GetKey
  42. *-----------------------------------------------------------------------------
  43. *
  44. * @Description : 获取实体的主键
  45. *
  46. * @Return Value : 实体的主键
  47. *
  48. * @Author : 代码生成器创建
  49. *
  50. * @Date : 2022-02-24 09:49:31
  51. *
  52. ******************************************************************************/
  53. func (self *ShipableAUConfig) GetKey() core.PK {
  54. return core.PK{self.PlantNr, self.ArtId}
  55. }