Index: .idea/sonarIssues.xml
===================================================================
diff -u -rdfba2018c887cdc75e11cd4f8021fa4657a3e339 -r32c1e3241b5bd53c89b02e908e386af5f44cf84f
--- .idea/sonarIssues.xml (.../sonarIssues.xml) (revision dfba2018c887cdc75e11cd4f8021fa4657a3e339)
+++ .idea/sonarIssues.xml (.../sonarIssues.xml) (revision 32c1e3241b5bd53c89b02e908e386af5f44cf84f)
@@ -1098,6 +1098,11 @@
+
+
+
+
+
Index: standard/project/web/src/main/java/egovframework/api/rivalWar/mappingItem/vo/MappingItemDTO.java
===================================================================
diff -u -r2059e1cb9871173bc856c9ea6e552c706b7f42bc -r32c1e3241b5bd53c89b02e908e386af5f44cf84f
--- standard/project/web/src/main/java/egovframework/api/rivalWar/mappingItem/vo/MappingItemDTO.java (.../MappingItemDTO.java) (revision 2059e1cb9871173bc856c9ea6e552c706b7f42bc)
+++ standard/project/web/src/main/java/egovframework/api/rivalWar/mappingItem/vo/MappingItemDTO.java (.../MappingItemDTO.java) (revision 32c1e3241b5bd53c89b02e908e386af5f44cf84f)
@@ -1,7 +1,61 @@
package egovframework.api.rivalWar.mappingItem.vo;
+import egovframework.com.ext.jstree.springHibernate.core.vo.JsTreeHibernateSearchDTO;
+import org.hibernate.annotations.*;
+
+import javax.persistence.Entity;
+import javax.persistence.SequenceGenerator;
+import javax.persistence.Table;
+import javax.persistence.Transient;
+import java.io.Serializable;
+
/**
* Created by Administrator on 2017-10-06.
*/
-public class MappingItemDTO {
+@Entity
+@Table(name = "T_JSTREE_MAPPING_ITEM")
+@SelectBeforeUpdate(value = true)
+@DynamicInsert(value = true)
+@DynamicUpdate(value = true)
+@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
+@SequenceGenerator(name = "JsTreeSequence", sequenceName = "S_JSTREE_MAPPING_ITEM", allocationSize = 1)
+public class MappingItemDTO extends JsTreeHibernateSearchDTO implements Serializable {
+
+ private static final long serialVersionUID = -2826589626313340365L;
+
+ /*
+ * Extend Bean Field
+ */
+ private Boolean copyBooleanValue;
+
+ public MappingItemDTO() {
+ super();
+ }
+
+ public MappingItemDTO(Boolean copyBooleanValue) {
+ super();
+ this.copyBooleanValue = copyBooleanValue;
+ }
+
+ @Transient
+ public Boolean getCopyBooleanValue() {
+ copyBooleanValue = false;
+ if (this.getCopy() == 0) {
+ copyBooleanValue = false;
+ } else {
+ copyBooleanValue = true;
+ }
+ return copyBooleanValue;
+ }
+
+ public void setCopyBooleanValue(Boolean copyBooleanValue) {
+ this.copyBooleanValue = copyBooleanValue;
+ }
+
+ @Override
+ public void setFieldFromNewInstance(T paramInstance) {
+ if (paramInstance instanceof MappingItemDTO) {
+
+ }
+ }
}