123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- {
- "data": [
- {
- "expression": "${pk}",
- "text": "主键对象,同${column}"
- },
- {
- "expression": "${context}",
- "text": "",
- "children": [
- {
- "expression": "${context.dbName}",
- "text": "数据库名"
- },
- {
- "expression": "${context.className}",
- "text": "类名"
- },
- {
- "expression": "${context.packageName}",
- "text": "namespace"
- },
- {
- "expression": "${context.pkName}",
- "text": "表主键名"
- }
- ]
- },
- {
- "expression": "${table}",
- "text": "",
- "children": [
- {
- "expression": "${table.tableName}",
- "text": "数据库表名"
- },
- {
- "expression": "${table.comment}",
- "text": "表注释"
- }
- ]
- },
- {
- "expression": "#foreach($column in $csharpColumns) #end",
- "text": "",
- "children": [
- {
- "expression": "${velocityCount}",
- "text": "foreach循环下标,从1开始"
- },
- {
- "expression": "${column.columnName}",
- "text": "表中字段名"
- },
- {
- "expression": "${column.type}",
- "text": "字段的数据库类型"
- },
- {
- "expression": "${column.field}",
- "text": "字段名"
- },
- {
- "expression": "${column.property}",
- "text": "属性名"
- },
- {
- "expression": "${column.fieldType}",
- "text": "字段类型"
- },
- {
- "expression": "${column.isIdentity}",
- "text": "是否自增,返回boolean"
- },
- {
- "expression": "${column.isPk}",
- "text": "是否主键,返回boolean"
- },
- {
- "expression": "${column.isIdentityPk}",
- "text": "是否自增主键,返回boolean"
- },
- {
- "expression": "${column.comment}",
- "text": "字段注释"
- }
- ]
- }
- ]
- }
|