forked from lxm_tools/screw
增加元数据deprecated标记字段.
This commit is contained in:
@@ -95,7 +95,7 @@ public class VelocityTemplateEngine extends AbstractTemplateEngine {
|
||||
Template template = null;
|
||||
try {
|
||||
String templateContent = getEngineConfig().getTemplateContent();
|
||||
if (StringUtils.isBlank(templateContent)) {
|
||||
if (templateContent != null) {
|
||||
// get template path
|
||||
String path = getEngineConfig().getCustomTemplate();
|
||||
//如果自定义了模板
|
||||
|
||||
@@ -98,4 +98,9 @@ public class ColumnModel implements Serializable {
|
||||
* 嵌套数据信息(用于文档数据库)
|
||||
*/
|
||||
private TableModel nestedTable;
|
||||
|
||||
/**
|
||||
* 是否弃用
|
||||
*/
|
||||
private Boolean deprecated;
|
||||
}
|
||||
|
||||
@@ -44,4 +44,9 @@ public class TableModel implements Serializable {
|
||||
* 表列
|
||||
*/
|
||||
private List<ColumnModel> columns;
|
||||
|
||||
/**
|
||||
* 是否弃用
|
||||
*/
|
||||
private Boolean deprecated;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user