java.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "data": [
  3. {
  4. "expression": "${pk}",
  5. "text": "",
  6. "children": [
  7. {
  8. "expression": "${pk.columnName}",
  9. "text": "主键表字段名"
  10. },
  11. {
  12. "expression": "${pk.type}",
  13. "text": "主键数据库类型"
  14. },
  15. {
  16. "expression": "${pk.javaFieldName}",
  17. "text": "主键java字段名"
  18. },
  19. {
  20. "expression": "${pk.javaFieldNameUF}",
  21. "text": "主键java字段名首字母大写"
  22. },
  23. {
  24. "expression": "${pk.javaType}",
  25. "text": "主键字段的java类型"
  26. },
  27. {
  28. "expression": "${pk.javaTypeBox}",
  29. "text": "主键字段的java装箱类型,如Integer"
  30. },
  31. {
  32. "expression": "${pk.isIdentity}",
  33. "text": "是否自增,返回boolean"
  34. },
  35. {
  36. "expression": "${pk.mybatisJdbcType}",
  37. "text": "mybatis定义的jdbcType"
  38. },
  39. {
  40. "expression": "${pk.comment}",
  41. "text": "主键字段注释"
  42. }
  43. ]
  44. },
  45. {
  46. "expression": "${context}",
  47. "text": "",
  48. "children": [
  49. {
  50. "expression": "${context.dbName}",
  51. "text": "数据库名"
  52. },
  53. {
  54. "expression": "${context.packageName}",
  55. "text": "包名"
  56. },
  57. {
  58. "expression": "${context.javaBeanName}",
  59. "text": "Java类名"
  60. },
  61. {
  62. "expression": "${context.javaBeanNameLF}",
  63. "text": "Java类名且首字母小写"
  64. },
  65. {
  66. "expression": "${context.datetime}",
  67. "text": "日期时间,年月日时分秒"
  68. },
  69. {
  70. "expression": "${context.date}",
  71. "text": "日期,年月日"
  72. },
  73. {
  74. "expression": "${context.time}",
  75. "text": "时间,时分秒"
  76. },
  77. {
  78. "expression": "${context.pkName}",
  79. "text": "表主键名"
  80. },
  81. {
  82. "expression": "${context.javaPkName}",
  83. "text": "表主键对应的java字段名"
  84. },
  85. {
  86. "expression": "${context.javaPkType}",
  87. "text": "主键的java类型"
  88. },
  89. {
  90. "expression": "${context.mybatisPkType}",
  91. "text": "主键对应的mybatis类型"
  92. }
  93. ]
  94. },
  95. {
  96. "expression": "${table}",
  97. "text": "",
  98. "children": [
  99. {
  100. "expression": "${table.tableName}",
  101. "text": "数据库表名"
  102. },
  103. {
  104. "expression": "${table.comment}",
  105. "text": "表注释"
  106. }
  107. ]
  108. },
  109. {
  110. "expression": "#foreach($column in $columns) #end",
  111. "text": "",
  112. "children": [
  113. {
  114. "expression": "${velocityCount}",
  115. "text": "foreach循环下标,从1开始"
  116. },
  117. {
  118. "expression": "${column.columnName}",
  119. "text": "表中字段名"
  120. },
  121. {
  122. "expression": "${column.type}",
  123. "text": "字段的数据库类型"
  124. },
  125. {
  126. "expression": "${column.javaFieldName}",
  127. "text": "java字段名"
  128. },
  129. {
  130. "expression": "${column.javaFieldNameUF}",
  131. "text": "java字段名首字母大写"
  132. },
  133. {
  134. "expression": "${column.javaType}",
  135. "text": "字段的java类型"
  136. },
  137. {
  138. "expression": "${column.javaTypeBox}",
  139. "text": "字段的java装箱类型,如Integer"
  140. },
  141. {
  142. "expression": "${column.isIdentity}",
  143. "text": "是否自增,返回boolean"
  144. },
  145. {
  146. "expression": "${column.isPk}",
  147. "text": "是否主键,返回boolean"
  148. },
  149. {
  150. "expression": "${column.isIdentityPk}",
  151. "text": "是否自增主键,返回boolean"
  152. },
  153. {
  154. "expression": "${column.mybatisJdbcType}",
  155. "text": "mybatis定义的jdbcType"
  156. },
  157. {
  158. "expression": "${column.comment}",
  159. "text": "字段注释"
  160. }
  161. ]
  162. }
  163. ]
  164. }