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

103 lines
6.5 KiB

3 years ago
  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 : Customer的字段元数据
  10. *
  11. * @Author : 代码生成器创建
  12. *
  13. * @Date : 2021-08-20 11:28:44
  14. *
  15. ******************************************************************************/
  16. var Customer_PlantNr = grmi.NewField("PlantNr", "[Customer].PlantNr", "plantnr", grmi.TypeInt)
  17. var Customer_CustomerId = grmi.NewField("CustomerId", "[Customer].CustomerId", "customerid", grmi.TypeString)
  18. var Customer_Name1 = grmi.NewField("Name1", "[Customer].Name1", "name1", grmi.TypeString)
  19. var Customer_Name2 = grmi.NewField("Name2", "[Customer].Name2", "name2", grmi.TypeString)
  20. var Customer_CustomerType = grmi.NewField("CustomerType", "[Customer].CustomerType", "customertype", grmi.TypeString)
  21. var Customer_DemandModelId = grmi.NewField("DemandModelId", "[Customer].DemandModelId", "demandmodelid", grmi.TypeString)
  22. var Customer_ToleranceModelId = grmi.NewField("ToleranceModelId", "[Customer].ToleranceModelId", "tolerancemodelid", grmi.TypeString)
  23. var Customer_ValidStartDate = grmi.NewField("ValidStartDate", "[Customer].ValidStartDate", "validstartdate", grmi.TypeDate)
  24. var Customer_Country = grmi.NewField("Country", "[Customer].Country", "country", grmi.TypeString)
  25. var Customer_City = grmi.NewField("City", "[Customer].City", "city", grmi.TypeString)
  26. var Customer_District = grmi.NewField("District", "[Customer].District", "district", grmi.TypeString)
  27. var Customer_Street = grmi.NewField("Street", "[Customer].Street", "street", grmi.TypeString)
  28. var Customer_Location = grmi.NewField("Location", "[Customer].Location", "location", grmi.TypeString)
  29. var Customer_PostCode = grmi.NewField("PostCode", "[Customer].PostCode", "postcode", grmi.TypeString)
  30. var Customer_Phone = grmi.NewField("Phone", "[Customer].Phone", "phone", grmi.TypeString)
  31. var Customer_Mobile = grmi.NewField("Mobile", "[Customer].Mobile", "mobile", grmi.TypeString)
  32. var Customer_Fax = grmi.NewField("Fax", "[Customer].Fax", "fax", grmi.TypeString)
  33. var Customer_Email1 = grmi.NewField("Email1", "[Customer].Email1", "email1", grmi.TypeString)
  34. var Customer_Email2 = grmi.NewField("Email2", "[Customer].Email2", "email2", grmi.TypeString)
  35. var Customer_ContactPerson = grmi.NewField("ContactPerson", "[Customer].ContactPerson", "contactperson", grmi.TypeString)
  36. var Customer_PersonTitle = grmi.NewField("PersonTitle", "[Customer].PersonTitle", "persontitle", grmi.TypeString)
  37. var Customer_ContactAddress = grmi.NewField("ContactAddress", "[Customer].ContactAddress", "contactaddress", grmi.TypeString)
  38. var Customer_Account = grmi.NewField("Account", "[Customer].Account", "account", grmi.TypeInt)
  39. var Customer_TaxRate = grmi.NewField("TaxRate", "[Customer].TaxRate", "taxrate", grmi.TypeString)
  40. var Customer_Status = grmi.NewField("Status", "[Customer].Status", "status", grmi.TypeInt)
  41. var Customer_CtrlPara1 = grmi.NewField("CtrlPara1", "[Customer].CtrlPara1", "ctrlpara1", grmi.TypeInt)
  42. var Customer_CtrlPara2 = grmi.NewField("CtrlPara2", "[Customer].CtrlPara2", "ctrlpara2", grmi.TypeInt)
  43. var Customer_CtrlStr1 = grmi.NewField("CtrlStr1", "[Customer].CtrlStr1", "ctrlstr1", grmi.TypeString)
  44. var Customer_CtrlStr2 = grmi.NewField("CtrlStr2", "[Customer].CtrlStr2", "ctrlstr2", grmi.TypeString)
  45. var Customer_CtrlTime1 = grmi.NewField("CtrlTime1", "[Customer].CtrlTime1", "ctrltime1", grmi.TypeDateTime)
  46. var Customer_CtrlTime2 = grmi.NewField("CtrlTime2", "[Customer].CtrlTime2", "ctrltime2", grmi.TypeDateTime)
  47. var Customer_LastModify = grmi.NewField("LastModify", "[Customer].LastModify", "lastmodify", grmi.TypeDateTime)
  48. var Customer_LastUser = grmi.NewField("LastUser", "[Customer].LastUser", "lastuser", grmi.TypeString)
  49. var Customer_CreateTime = grmi.NewField("CreateTime", "[Customer].CreateTime", "createtime", grmi.TypeDateTime)
  50. /******************************************************************************
  51. *
  52. * @Description : Customer的元数据
  53. *
  54. * @Author : 代码生成器创建
  55. *
  56. * @Date : 2021-08-20 11:28:44
  57. *
  58. ******************************************************************************/
  59. var Customer = grmi.NewEntity(
  60. "Customer",
  61. func() interface{} { return &model.Customer{} },
  62. map[string]grmi.Field{
  63. Customer_PlantNr.Name: Customer_PlantNr,
  64. Customer_CustomerId.Name: Customer_CustomerId,
  65. Customer_Name1.Name: Customer_Name1,
  66. Customer_Name2.Name: Customer_Name2,
  67. Customer_CustomerType.Name: Customer_CustomerType,
  68. Customer_DemandModelId.Name: Customer_DemandModelId,
  69. Customer_ToleranceModelId.Name: Customer_ToleranceModelId,
  70. Customer_ValidStartDate.Name: Customer_ValidStartDate,
  71. Customer_Country.Name: Customer_Country,
  72. Customer_City.Name: Customer_City,
  73. Customer_District.Name: Customer_District,
  74. Customer_Street.Name: Customer_Street,
  75. Customer_Location.Name: Customer_Location,
  76. Customer_PostCode.Name: Customer_PostCode,
  77. Customer_Phone.Name: Customer_Phone,
  78. Customer_Mobile.Name: Customer_Mobile,
  79. Customer_Fax.Name: Customer_Fax,
  80. Customer_Email1.Name: Customer_Email1,
  81. Customer_Email2.Name: Customer_Email2,
  82. Customer_ContactPerson.Name: Customer_ContactPerson,
  83. Customer_PersonTitle.Name: Customer_PersonTitle,
  84. Customer_ContactAddress.Name: Customer_ContactAddress,
  85. Customer_Account.Name: Customer_Account,
  86. Customer_TaxRate.Name: Customer_TaxRate,
  87. Customer_Status.Name: Customer_Status,
  88. Customer_CtrlPara1.Name: Customer_CtrlPara1,
  89. Customer_CtrlPara2.Name: Customer_CtrlPara2,
  90. Customer_CtrlStr1.Name: Customer_CtrlStr1,
  91. Customer_CtrlStr2.Name: Customer_CtrlStr2,
  92. Customer_CtrlTime1.Name: Customer_CtrlTime1,
  93. Customer_CtrlTime2.Name: Customer_CtrlTime2,
  94. Customer_LastModify.Name: Customer_LastModify,
  95. Customer_LastUser.Name: Customer_LastUser,
  96. Customer_CreateTime.Name: Customer_CreateTime,
  97. },
  98. []string{"PlantNr"},
  99. []string{"Name1", "Name2", "CustomerType", "DemandModelId", "ToleranceModelId", "ValidStartDate", "Country", "City", "District", "Street", "Location", "PostCode", "Phone", "Mobile", "Fax", "Email1", "Email2", "ContactPerson", "PersonTitle", "ContactAddress", "Account", "TaxRate", "Status", "CtrlPara1", "CtrlPara2", "CtrlStr1", "CtrlStr2", "CtrlTime1", "CtrlTime2", "LastUser"})