java.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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.delPrefix}",
  59. "text": "删除前缀"
  60. },
  61. {
  62. "expression": "${context.javaBeanName}",
  63. "text": "Java类名"
  64. },
  65. {
  66. "expression": "${context.javaBeanNameLF}",
  67. "text": "Java类名且首字母小写"
  68. },
  69. {
  70. "expression": "${context.datetime}",
  71. "text": "日期时间,年月日时分秒"
  72. },
  73. {
  74. "expression": "${context.date}",
  75. "text": "日期,年月日"
  76. },
  77. {
  78. "expression": "${context.time}",
  79. "text": "时间,时分秒"
  80. },
  81. {
  82. "expression": "${context.pkName}",
  83. "text": "表主键名"
  84. },
  85. {
  86. "expression": "${context.javaPkName}",
  87. "text": "表主键对应的java字段名"
  88. },
  89. {
  90. "expression": "${context.javaPkType}",
  91. "text": "主键的java类型"
  92. },
  93. {
  94. "expression": "${context.mybatisPkType}",
  95. "text": "主键对应的mybatis类型"
  96. }
  97. ]
  98. },
  99. {
  100. "expression": "${table}",
  101. "text": "",
  102. "children": [
  103. {
  104. "expression": "${table.tableName}",
  105. "text": "数据库表名"
  106. },
  107. {
  108. "expression": "${table.comment}",
  109. "text": "表注释"
  110. },
  111. {
  112. "expression": "${table.schema}",
  113. "text": "PostgreSQL中的Schema"
  114. }
  115. ]
  116. },
  117. {
  118. "expression": "#foreach($column in $columns) #end",
  119. "text": "",
  120. "children": [
  121. {
  122. "expression": "${velocityCount}",
  123. "text": "foreach循环下标,从1开始"
  124. },
  125. {
  126. "expression": "${column.columnName}",
  127. "text": "表中字段名"
  128. },
  129. {
  130. "expression": "${column.type}",
  131. "text": "字段的数据库类型"
  132. },
  133. {
  134. "expression": "${column.javaFieldName}",
  135. "text": "java字段名"
  136. },
  137. {
  138. "expression": "${column.javaFieldNameUF}",
  139. "text": "java字段名首字母大写"
  140. },
  141. {
  142. "expression": "${column.javaType}",
  143. "text": "字段的java类型"
  144. },
  145. {
  146. "expression": "${column.javaTypeBox}",
  147. "text": "字段的java装箱类型,如Integer"
  148. },
  149. {
  150. "expression": "${column.isIdentity}",
  151. "text": "是否自增,返回boolean"
  152. },
  153. {
  154. "expression": "${column.isPk}",
  155. "text": "是否主键,返回boolean"
  156. },
  157. {
  158. "expression": "${column.isIdentityPk}",
  159. "text": "是否自增主键,返回boolean"
  160. },
  161. {
  162. "expression": "${column.mybatisJdbcType}",
  163. "text": "mybatis定义的jdbcType"
  164. },
  165. {
  166. "expression": "${column.comment}",
  167. "text": "字段注释"
  168. }
  169. ]
  170. }
  171. ]
  172. }