.
This commit is contained in:
@@ -16,7 +16,8 @@ public class MetaService extends Doc<MetaService> {
|
||||
|
||||
private String name; //业务标识
|
||||
private String table; //主体表别名
|
||||
private List<String> links; //["link._key1","link._key2"]
|
||||
private String comment; //业务中文名
|
||||
//private List<String> links; //["link._key1","link._key2"]
|
||||
|
||||
|
||||
private List<String> shows = new ArrayList<>();
|
||||
@@ -24,9 +25,9 @@ public class MetaService extends Doc<MetaService> {
|
||||
private List<Map> filters = new ArrayList<>();
|
||||
|
||||
//待组装数据
|
||||
private MetaTable metaTable;
|
||||
private List<MetaLink> metaLinks;//[{alias:"b", table:"dept", link:[mk,lk]}, xxxx]
|
||||
private Map<String, MetaTable> tables;
|
||||
//private MetaTable metaTable;
|
||||
//private List<MetaLink> metaLinks;//[{alias:"b", table:"dept", link:[mk,lk]}, xxxx]
|
||||
//private Map<String, MetaTable> tables;
|
||||
//-------------------------------------------
|
||||
|
||||
public String getName() {
|
||||
@@ -45,13 +46,21 @@ public class MetaService extends Doc<MetaService> {
|
||||
this.table = table;
|
||||
}
|
||||
|
||||
public List<String> getLinks() {
|
||||
public String getComment() {
|
||||
return comment;
|
||||
}
|
||||
|
||||
public void setComment(String comment) {
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
/*public List<String> getLinks() {
|
||||
return links;
|
||||
}
|
||||
|
||||
public void setLinks(List<String> links) {
|
||||
this.links = links;
|
||||
}
|
||||
}*/
|
||||
|
||||
public List<String> getShows() {
|
||||
return shows;
|
||||
@@ -77,27 +86,27 @@ public class MetaService extends Doc<MetaService> {
|
||||
this.filters = filters;
|
||||
}
|
||||
|
||||
public MetaTable getMetaTable() {
|
||||
/*public MetaTable getMetaTable() {
|
||||
return metaTable;
|
||||
}
|
||||
|
||||
public void setMetaTable(MetaTable metaTable) {
|
||||
this.metaTable = metaTable;
|
||||
}
|
||||
}*/
|
||||
|
||||
public List<MetaLink> getMetaLinks() {
|
||||
/*public List<MetaLink> getMetaLinks() {
|
||||
return metaLinks;
|
||||
}
|
||||
|
||||
public void setMetaLinks(List<MetaLink> metaLinks) {
|
||||
this.metaLinks = metaLinks;
|
||||
}
|
||||
}*/
|
||||
|
||||
public Map<String, MetaTable> getTables() {
|
||||
/*public Map<String, MetaTable> getTables() {
|
||||
return tables;
|
||||
}
|
||||
|
||||
public void setTables(Map<String, MetaTable> tables) {
|
||||
this.tables = tables;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user