category.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "table": {
  3. "id": 10,
  4. "scene" : 1,
  5. "parentMenuId" : 888,
  6. "tableName" : "infra_category",
  7. "tableComment" : "分类表",
  8. "moduleName" : "infra",
  9. "businessName" : "demo",
  10. "className" : "InfraCategory",
  11. "classComment" : "分类",
  12. "author" : "jt",
  13. "treeParentColumnId" : 22,
  14. "treeNameColumnId" : 11
  15. },
  16. "columns": [ {
  17. "columnName" : "id",
  18. "dataType" : "BIGINT",
  19. "columnComment" : "编号",
  20. "primaryKey" : true,
  21. "javaType" : "Long",
  22. "javaField" : "id",
  23. "example" : "1024",
  24. "updateOperation" : true,
  25. "listOperationResult" : true
  26. }, {
  27. "id" : 11,
  28. "columnName" : "name",
  29. "dataType" : "VARCHAR",
  30. "columnComment" : "名字",
  31. "javaType" : "String",
  32. "javaField" : "name",
  33. "example" : "芋头",
  34. "createOperation" : true,
  35. "updateOperation" : true,
  36. "listOperation" : true,
  37. "listOperationCondition" : "LIKE",
  38. "listOperationResult" : true,
  39. "htmlType" : "input"
  40. }, {
  41. "id" : 22,
  42. "columnName" : "description",
  43. "dataType" : "VARCHAR",
  44. "columnComment" : "父编号",
  45. "javaType" : "Long",
  46. "javaField" : "parentId",
  47. "example" : "2048",
  48. "createOperation" : true,
  49. "updateOperation" : true,
  50. "listOperationResult" : true
  51. } ]
  52. }