1、引入lombok支持,重构JavaBean 将 常规getter/setter去除
2、去除Gson 依赖
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package net.tccn.meta;
|
||||
|
||||
import lombok.Data;
|
||||
import net.tccn.base.arango.Doc;
|
||||
|
||||
import javax.persistence.Table;
|
||||
@@ -10,6 +11,7 @@ import java.util.Map;
|
||||
/**
|
||||
* Created by liangxianyou at 2018/12/24 16:15.
|
||||
*/
|
||||
@Data
|
||||
@Table(name = "MetaService", catalog = "db_demo")
|
||||
public class MetaService extends Doc<MetaService> {
|
||||
public static MetaService dao = Doc.dao(MetaService.class);
|
||||
@@ -20,82 +22,11 @@ public class MetaService extends Doc<MetaService> {
|
||||
private String sysPlatId; //平台id
|
||||
|
||||
private List<Map<String,String>> shows = new ArrayList<>();
|
||||
private List<Map> edits = new ArrayList<>();
|
||||
private List<Map<String,String>> edits = new ArrayList<>();
|
||||
private List<String> details = new ArrayList<>();
|
||||
private List<Map> filters = new ArrayList<>();
|
||||
private List<Filter> filters = new ArrayList<>();//{name:"", label:"", checked:true, }
|
||||
private List<Map<String,String>> exports = new ArrayList<>();
|
||||
|
||||
//-------------------------------------------
|
||||
//------
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getTable() {
|
||||
return table;
|
||||
}
|
||||
|
||||
public void setTable(String table) {
|
||||
this.table = table;
|
||||
}
|
||||
|
||||
public String getComment() {
|
||||
return comment;
|
||||
}
|
||||
|
||||
public void setComment(String comment) {
|
||||
this.comment = comment;
|
||||
}
|
||||
|
||||
public String getSysPlatId() {
|
||||
return sysPlatId;
|
||||
}
|
||||
|
||||
public void setSysPlatId(String sysPlatId) {
|
||||
this.sysPlatId = sysPlatId;
|
||||
}
|
||||
|
||||
public List<Map<String, String>> getShows() {
|
||||
return shows;
|
||||
}
|
||||
|
||||
public void setShows(List<Map<String, String>> shows) {
|
||||
this.shows = shows;
|
||||
}
|
||||
|
||||
public List<Map> getEdits() {
|
||||
return edits;
|
||||
}
|
||||
|
||||
public void setEdits(List<Map> edits) {
|
||||
this.edits = edits;
|
||||
}
|
||||
|
||||
public List<String> getDetails() {
|
||||
return details;
|
||||
}
|
||||
|
||||
public void setDetails(List<String> details) {
|
||||
this.details = details;
|
||||
}
|
||||
|
||||
public List<Map> getFilters() {
|
||||
return filters;
|
||||
}
|
||||
|
||||
public void setFilters(List<Map> filters) {
|
||||
this.filters = filters;
|
||||
}
|
||||
|
||||
public List<Map<String, String>> getExports() {
|
||||
return exports;
|
||||
}
|
||||
|
||||
public void setExports(List<Map<String, String>> exports) {
|
||||
this.exports = exports;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user