苏州瑞玛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.

51 lines
2.3 KiB

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