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

58 lines
3.0 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 : LabelParserDetailLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : LabelParserDetailLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-08-20 11:28:44
  17. *
  18. ******************************************************************************/
  19. type LabelParserDetailLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"LabelParserDetailLst-PlantNr"`
  21. ParserId string `xorm:"pk nvarchar(40) 'ParserId'" json:"LabelParserDetailLst-ParserId"`
  22. Pos int `xorm:"pk int 'Pos'" json:"LabelParserDetailLst-Pos"`
  23. Abrev string `xorm:"nvarchar(40) 'Abrev' not null" json:"LabelParserDetailLst-Abrev"`
  24. Descr string `xorm:"nvarchar(40) 'Descr' not null" json:"LabelParserDetailLst-Descr"`
  25. StartPos int `xorm:"int 'StartPos' not null" json:"LabelParserDetailLst-StartPos"`
  26. EndPos int `xorm:"int 'EndPos' not null" json:"LabelParserDetailLst-EndPos"`
  27. DisplayToggle bool `xorm:"bit 'DisplayToggle' not null" json:"LabelParserDetailLst-DisplayToggle"`
  28. ValidateToggle bool `xorm:"bit 'ValidateToggle' not null" json:"LabelParserDetailLst-ValidateToggle"`
  29. StoreToggle bool `xorm:"bit 'StoreToggle' not null" json:"LabelParserDetailLst-StoreToggle"`
  30. ParserMap string `xorm:"nvarchar(40) 'ParserMap' not null" json:"LabelParserDetailLst-ParserMap"`
  31. ValidateRule string `xorm:"nvarchar(100) 'ValidateRule' not null" json:"LabelParserDetailLst-ValidateRule"`
  32. ValidatePara string `xorm:"nvarchar(100) 'ValidatePara' not null" json:"LabelParserDetailLst-ValidatePara"`
  33. StoreField string `xorm:"nvarchar(40) 'StoreField' not null" json:"LabelParserDetailLst-StoreField"`
  34. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"LabelParserDetailLst-LastModify"`
  35. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"LabelParserDetailLst-LastUser"`
  36. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"LabelParserDetailLst-CreateTime"`
  37. }
  38. /******************************************************************************
  39. *
  40. * @Function Name : GetKey
  41. *-----------------------------------------------------------------------------
  42. *
  43. * @Description : 获取实体的主键
  44. *
  45. * @Return Value : 实体的主键
  46. *
  47. * @Author : 代码生成器创建
  48. *
  49. * @Date : 2021-08-20 11:28:44
  50. *
  51. ******************************************************************************/
  52. func (self *LabelParserDetailLst) GetKey() core.PK {
  53. return core.PK{self.PlantNr, self.ParserId, self.Pos}
  54. }