苏州瑞玛APS项目web后台
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.

49 lines
2.0 KiB

3 years ago
  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package ap
  3. import (
  4. "leit.com/LAPP_CHEERSSON_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : ErrorDatalst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ErrorDatalst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-12-28 20:59:34
  17. *
  18. ******************************************************************************/
  19. type ErrorDatalst struct {
  20. Id int `xorm:"pk int 'Id' autoincr" json:"AP_ErrorDatalst-Id"`
  21. ErrorInfo string `xorm:"text 'ErrorInfo'" json:"AP_ErrorDatalst-ErrorInfo"`
  22. ErrorType string `xorm:"nvarchar(32) 'ErrorType'" json:"AP_ErrorDatalst-ErrorType"`
  23. ErrorStatus string `xorm:"nvarchar(10) 'ErrorStatus'" json:"AP_ErrorDatalst-ErrorStatus"`
  24. TargetSource string `xorm:"nvarchar(32) 'TargetSource'" json:"AP_ErrorDatalst-TargetSource"`
  25. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"AP_ErrorDatalst-LastModify"`
  26. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"AP_ErrorDatalst-LastUser"`
  27. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"AP_ErrorDatalst-CreateTime"`
  28. }
  29. /******************************************************************************
  30. *
  31. * @Function Name : GetKey
  32. *-----------------------------------------------------------------------------
  33. *
  34. * @Description : 获取实体的主键
  35. *
  36. * @Return Value : 实体的主键
  37. *
  38. * @Author : 代码生成器创建
  39. *
  40. * @Date : 2021-12-28 20:59:34
  41. *
  42. ******************************************************************************/
  43. func (self *ErrorDatalst) GetKey() core.PK {
  44. return core.PK{self.Id}
  45. }