|
|
@@ -7,6 +7,8 @@ import cc.smtweb.framework.core.common.SwEnum; |
|
|
|
import cc.smtweb.framework.core.db.cache.ModelTableCache; |
|
|
|
import cc.smtweb.framework.core.db.impl.DefaultEntity; |
|
|
|
import cc.smtweb.framework.core.util.JsonUtil; |
|
|
|
import cc.smtweb.framework.core.util.jackson.BaseBeanSerializer; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
@@ -15,35 +17,6 @@ import java.util.List; |
|
|
|
@SwTable(value = "ASP_MODEL_TABLE") |
|
|
|
public class ModelTable extends DefaultEntity { |
|
|
|
public final static String ENTITY_NAME = "ASP_MODEL_TABLE"; |
|
|
|
/*private long id; |
|
|
|
//所属数据库id及名称 |
|
|
|
private long databaseId; |
|
|
|
//项目id |
|
|
|
private long prjoectId; |
|
|
|
//目录id |
|
|
|
private long catalogId; |
|
|
|
//库表名 |
|
|
|
private String name; |
|
|
|
//中文名 |
|
|
|
private String title; |
|
|
|
//缩写 |
|
|
|
private String abbr; |
|
|
|
//继承的表 |
|
|
|
private String tableExtends; |
|
|
|
//类型 0-普通表,1 树型表 2 编码表 9-虚拟抽象表 11 视图' |
|
|
|
private int type; |
|
|
|
//表定义 |
|
|
|
private String tableContent; |
|
|
|
//是否需要缓存 |
|
|
|
private boolean needCache; |
|
|
|
//创建者 |
|
|
|
private Long createUid; |
|
|
|
//创建时间 |
|
|
|
private Long createAt; |
|
|
|
//最后更新人 |
|
|
|
private Long updateUid; |
|
|
|
//更新时间 |
|
|
|
private Long updateAt;*/ |
|
|
|
|
|
|
|
/*冗余*/ |
|
|
|
private String idField; |
|
|
|