|
@@ -24,6 +24,8 @@ import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import org.springblade.core.tool.node.INode;
|
|
|
import org.springblade.manager.entity.ArchiveTreeContract;
|
|
|
+import org.springframework.beans.BeanUtils;
|
|
|
+import org.springframework.beans.BeansException;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
@@ -194,4 +196,21 @@ public class ArchiveTreeContractVO2 implements INode<ArchiveTreeContractVO2> {
|
|
|
+ ")";
|
|
|
}
|
|
|
|
|
|
+ public ArchiveTreeContractVO2() {
|
|
|
+ }
|
|
|
+
|
|
|
+ public ArchiveTreeContractVO2(ArchiveTreeContract archiveTree) {
|
|
|
+ if (archiveTree == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ try {
|
|
|
+ BeanUtils.copyProperties(archiveTree,this);
|
|
|
+ this.setTitle(archiveTree.getNodeName());
|
|
|
+
|
|
|
+ } catch (BeansException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|