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

52 lines
2.3 KiB

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