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

49 lines
2.0 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package pm
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : AttributeValst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : AttributeValst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-10-08 13:20:42
  17. *
  18. ******************************************************************************/
  19. type AttributeValst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"PM_AttributeValst-PlantNr"`
  21. AttrNr int `xorm:"pk int 'AttrNr'" json:"PM_AttributeValst-AttrNr"`
  22. Pos int `xorm:"pk int 'Pos'" json:"PM_AttributeValst-Pos"`
  23. AttrValue string `xorm:"varchar(60) 'AttrValue' not null" json:"PM_AttributeValst-AttrValue"`
  24. Descr string `xorm:"varchar(60) 'Descr' not null" json:"PM_AttributeValst-Descr"`
  25. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PM_AttributeValst-LastModify"`
  26. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PM_AttributeValst-LastUser"`
  27. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PM_AttributeValst-CreateTime"`
  28. }
  29. /******************************************************************************
  30. *
  31. * @Function Name : GetKey
  32. *-----------------------------------------------------------------------------
  33. *
  34. * @Description : 获取实体的主键
  35. *
  36. * @Return Value : 实体的主键
  37. *
  38. * @Author : 代码生成器创建
  39. *
  40. * @Date : 2021-10-08 13:20:42
  41. *
  42. ******************************************************************************/
  43. func (self *AttributeValst) GetKey() core.PK {
  44. return core.PK{self.PlantNr, self.AttrNr, self.Pos}
  45. }