template_mapping.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "templateName":"编码映射",
  3. "templateCode":"mapping",
  4. "templateKey":"id",
  5. "templateKeyName":"编码ID",
  6. "searchCode": "name",
  7. "searchName": "名称",
  8. "columns":[
  9. {
  10. "code":"domain",
  11. "cnCode":"域",
  12. "desc":"必填,请填写域",
  13. "required":true,
  14. "hasDefaultValue":true,
  15. "defaultValue":"DOMAIN.COMMON",
  16. "inputType":"input",
  17. "limit":"maxLength",
  18. "limitParam":"50",
  19. "limitErrInfo":"域长度不能超过50"
  20. },
  21. {
  22. "code":"name",
  23. "cnCode":"名称",
  24. "desc":"必填,请填写名称",
  25. "required":true,
  26. "hasDefaultValue":false,
  27. "inputType":"input",
  28. "limit":"maxin",
  29. "limitParam":"2,50",
  30. "limitErrInfo":"名称必须在2至50字符之间"
  31. },
  32. {
  33. "code":"key",
  34. "cnCode":"键",
  35. "desc":"必填,请填写键",
  36. "required":true,
  37. "hasDefaultValue":false,
  38. "defaultValue":"",
  39. "inputType":"input",
  40. "limit":"maxin",
  41. "limitParam":"1,100",
  42. "limitErrInfo":"键必须在1至100之间"
  43. },
  44. {
  45. "code":"value",
  46. "cnCode":"值",
  47. "desc":"必填,请填写值",
  48. "required":true,
  49. "hasDefaultValue":false,
  50. "defaultValue":"",
  51. "inputType":"input",
  52. "limit":"maxin",
  53. "limitParam":"1,100",
  54. "limitErrInfo":"值必须在1至100之间"
  55. },
  56. {
  57. "code":"remark",
  58. "cnCode":"备注",
  59. "desc":"可填,请填写备注",
  60. "required":false,
  61. "hasDefaultValue":false,
  62. "defaultValue":"",
  63. "inputType":"textarea",
  64. "limit":"maxLength",
  65. "limitParam":"200",
  66. "limitErrInfo":"备注内容不能超过200"
  67. }
  68. ]
  69. }