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

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