{ "data": [ { "expression": "${pk}", "text": "", "children": [ { "expression": "${pk.columnName}", "text": "主键表字段名" }, { "expression": "${pk.type}", "text": "主键数据库类型" }, { "expression": "${pk.javaFieldName}", "text": "主键java字段名" }, { "expression": "${pk.javaFieldNameUF}", "text": "主键java字段名首字母大写" }, { "expression": "${pk.javaType}", "text": "主键字段的java类型" }, { "expression": "${pk.javaTypeBox}", "text": "主键字段的java装箱类型,如Integer" }, { "expression": "${pk.isIdentity}", "text": "是否自增,返回boolean" }, { "expression": "${pk.mybatisJdbcType}", "text": "mybatis定义的jdbcType" }, { "expression": "${pk.comment}", "text": "主键字段注释" } ] }, { "expression": "${context}", "text": "", "children": [ { "expression": "${context.dbName}", "text": "数据库名" }, { "expression": "${context.packageName}", "text": "包名" }, { "expression": "${context.delPrefix}", "text": "删除前缀" }, { "expression": "${context.javaBeanName}", "text": "Java类名" }, { "expression": "${context.javaBeanNameLF}", "text": "Java类名且首字母小写" }, { "expression": "${context.datetime}", "text": "日期时间,年月日时分秒" }, { "expression": "${context.date}", "text": "日期,年月日" }, { "expression": "${context.time}", "text": "时间,时分秒" }, { "expression": "${context.pkName}", "text": "表主键名" }, { "expression": "${context.javaPkName}", "text": "表主键对应的java字段名" }, { "expression": "${context.javaPkType}", "text": "主键的java类型" }, { "expression": "${context.mybatisPkType}", "text": "主键对应的mybatis类型" } ] }, { "expression": "${table}", "text": "", "children": [ { "expression": "${table.tableName}", "text": "数据库表名" }, { "expression": "${table.comment}", "text": "表注释" }, { "expression": "${table.schema}", "text": "PostgreSQL中的Schema" } ] }, { "expression": "#foreach($column in $columns) #end", "text": "", "children": [ { "expression": "${velocityCount}", "text": "foreach循环下标,从1开始" }, { "expression": "${column.columnName}", "text": "表中字段名" }, { "expression": "${column.type}", "text": "字段的数据库类型" }, { "expression": "${column.javaFieldName}", "text": "java字段名" }, { "expression": "${column.javaFieldNameUF}", "text": "java字段名首字母大写" }, { "expression": "${column.javaType}", "text": "字段的java类型" }, { "expression": "${column.javaTypeBox}", "text": "字段的java装箱类型,如Integer" }, { "expression": "${column.isIdentity}", "text": "是否自增,返回boolean" }, { "expression": "${column.isPk}", "text": "是否主键,返回boolean" }, { "expression": "${column.isIdentityPk}", "text": "是否自增主键,返回boolean" }, { "expression": "${column.mybatisJdbcType}", "text": "mybatis定义的jdbcType" }, { "expression": "${column.comment}", "text": "字段注释" } ] } ] }