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.4 KiB

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