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

54 lines
2.4 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 : AssertArtLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : AssertArtLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-06-29 10:57:04
  17. *
  18. ******************************************************************************/
  19. type AssertArtLst struct {
  20. AssertId string `xorm:"pk nvarchar(40) 'AssertId'" json:"WM_AssertArtLst-AssertId"`
  21. ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"WM_AssertArtLst-ArtId"`
  22. Pos int `xorm:"int 'Pos' not null" json:"WM_AssertArtLst-Pos"`
  23. Qty float64 `xorm:"float 'Qty' not null" json:"WM_AssertArtLst-Qty"`
  24. Uom string `xorm:"nvarchar(30) 'Uom' not null" json:"WM_AssertArtLst-Uom"`
  25. CtrlLevel int `xorm:"int 'CtrlLevel' not null" json:"WM_AssertArtLst-CtrlLevel"`
  26. CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"WM_AssertArtLst-CtrlPara1"`
  27. CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"WM_AssertArtLst-CtrlPara2"`
  28. CtrlPara3 string `xorm:"nvarchar(100) 'CtrlPara3' not null" json:"WM_AssertArtLst-CtrlPara3"`
  29. CtrlPara4 string `xorm:"nvarchar(100) 'CtrlPara4' not null" json:"WM_AssertArtLst-CtrlPara4"`
  30. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WM_AssertArtLst-LastModify"`
  31. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WM_AssertArtLst-LastUser"`
  32. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WM_AssertArtLst-CreateTime"`
  33. }
  34. /******************************************************************************
  35. *
  36. * @Function Name : GetKey
  37. *-----------------------------------------------------------------------------
  38. *
  39. * @Description : 获取实体的主键
  40. *
  41. * @Return Value : 实体的主键
  42. *
  43. * @Author : 代码生成器创建
  44. *
  45. * @Date : 2021-06-29 10:57:04
  46. *
  47. ******************************************************************************/
  48. func (self *AssertArtLst) GetKey() core.PK {
  49. return core.PK{self.AssertId, self.ArtId}
  50. }