高级排程
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.

67 lines
3.8 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package base
  3. import (
  4. "LAPP_AS/grmi"
  5. model "LAPP_AS/models/base"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Description : WorkPlace的字段元数据
  10. *
  11. * @Author : 代码生成器创建
  12. *
  13. * @Date : 2021-08-20 14:06:46
  14. *
  15. ******************************************************************************/
  16. var WorkPlace_PlantNr = grmi.NewField("PlantNr", "[WorkPlace].PlantNr", "plantnr", grmi.TypeInt)
  17. var WorkPlace_WorkPlaceId = grmi.NewField("WorkPlaceId", "[WorkPlace].WorkPlaceId", "workplaceid", grmi.TypeString)
  18. var WorkPlace_Descr = grmi.NewField("Descr", "[WorkPlace].Descr", "descr", grmi.TypeString)
  19. var WorkPlace_WorkPlaceGrpId = grmi.NewField("WorkPlaceGrpId", "[WorkPlace].WorkPlaceGrpId", "workplacegrpid", grmi.TypeString)
  20. var WorkPlace_WorkPlaceType = grmi.NewField("WorkPlaceType", "[WorkPlace].WorkPlaceType", "workplacetype", grmi.TypeString)
  21. var WorkPlace_CapacityType = grmi.NewField("CapacityType", "[WorkPlace].CapacityType", "capacitytype", grmi.TypeString)
  22. var WorkPlace_CapacityFactor = grmi.NewField("CapacityFactor", "[WorkPlace].CapacityFactor", "capacityfactor", grmi.TypeFloat64)
  23. var WorkPlace_PlanEfficiency = grmi.NewField("PlanEfficiency", "[WorkPlace].PlanEfficiency", "planefficiency", grmi.TypeFloat64)
  24. var WorkPlace_CostRate = grmi.NewField("CostRate", "[WorkPlace].CostRate", "costrate", grmi.TypeFloat64)
  25. var WorkPlace_WeekModelNr = grmi.NewField("WeekModelNr", "[WorkPlace].WeekModelNr", "weekmodelnr", grmi.TypeInt)
  26. var WorkPlace_WorkCalendarNr = grmi.NewField("WorkCalendarNr", "[WorkPlace].WorkCalendarNr", "workcalendarnr", grmi.TypeInt)
  27. var WorkPlace_CostCenterId = grmi.NewField("CostCenterId", "[WorkPlace].CostCenterId", "costcenterid", grmi.TypeString)
  28. var WorkPlace_LocationId = grmi.NewField("LocationId", "[WorkPlace].LocationId", "locationid", grmi.TypeString)
  29. var WorkPlace_LastModify = grmi.NewField("LastModify", "[WorkPlace].LastModify", "lastmodify", grmi.TypeDateTime)
  30. var WorkPlace_LastUser = grmi.NewField("LastUser", "[WorkPlace].LastUser", "lastuser", grmi.TypeString)
  31. var WorkPlace_CreateTime = grmi.NewField("CreateTime", "[WorkPlace].CreateTime", "createtime", grmi.TypeDateTime)
  32. /******************************************************************************
  33. *
  34. * @Description : WorkPlace的元数据
  35. *
  36. * @Author : 代码生成器创建
  37. *
  38. * @Date : 2021-08-20 14:06:46
  39. *
  40. ******************************************************************************/
  41. var WorkPlace = grmi.NewEntity(
  42. "WorkPlace",
  43. func() interface{} { return &model.WorkPlace{} },
  44. map[string]grmi.Field{
  45. WorkPlace_PlantNr.Name: WorkPlace_PlantNr,
  46. WorkPlace_WorkPlaceId.Name: WorkPlace_WorkPlaceId,
  47. WorkPlace_Descr.Name: WorkPlace_Descr,
  48. WorkPlace_WorkPlaceGrpId.Name: WorkPlace_WorkPlaceGrpId,
  49. WorkPlace_WorkPlaceType.Name: WorkPlace_WorkPlaceType,
  50. WorkPlace_CapacityType.Name: WorkPlace_CapacityType,
  51. WorkPlace_CapacityFactor.Name: WorkPlace_CapacityFactor,
  52. WorkPlace_PlanEfficiency.Name: WorkPlace_PlanEfficiency,
  53. WorkPlace_CostRate.Name: WorkPlace_CostRate,
  54. WorkPlace_WeekModelNr.Name: WorkPlace_WeekModelNr,
  55. WorkPlace_WorkCalendarNr.Name: WorkPlace_WorkCalendarNr,
  56. WorkPlace_CostCenterId.Name: WorkPlace_CostCenterId,
  57. WorkPlace_LocationId.Name: WorkPlace_LocationId,
  58. WorkPlace_LastModify.Name: WorkPlace_LastModify,
  59. WorkPlace_LastUser.Name: WorkPlace_LastUser,
  60. WorkPlace_CreateTime.Name: WorkPlace_CreateTime,
  61. },
  62. []string{"PlantNr"},
  63. []string{"Descr", "WorkPlaceGrpId", "WorkPlaceType", "CapacityType", "CapacityFactor", "PlanEfficiency", "CostRate", "WeekModelNr", "WorkCalendarNr", "CostCenterId", "LocationId", "LastUser"})