@@ -64,6 +64,12 @@ public class PtTreeCate extends BaseEntity
this.nodeType=model;
this.service=service;
}
+ public PtTreeCate(String mdid, String cateid, String name, String model) {
+ this.treeId=mdid;
+ this.treePid=cateid;
+ this.itemName=name;
+ this.nodeType=model;
+ }
public PtService getService() {