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

53 lines
2.2 KiB

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