Add data persistence
[ccsdk/sli/core.git] / sliapi / springboot / src / main / java / org / onap / ccsdk / sli / core / sliapi / springboot / controllers / data / TestResultOperational.java
diff --git a/sliapi/springboot/src/main/java/org/onap/ccsdk/sli/core/sliapi/springboot/controllers/data/TestResultOperational.java b/sliapi/springboot/src/main/java/org/onap/ccsdk/sli/core/sliapi/springboot/controllers/data/TestResultOperational.java
new file mode 100644 (file)
index 0000000..4c3709e
--- /dev/null
@@ -0,0 +1,51 @@
+package org.onap.ccsdk.sli.core.sliapi.springboot.controllers.data;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+
+@Entity
+public class TestResultOperational {
+
+
+    @Id
+    @GeneratedValue(strategy= GenerationType.AUTO)
+    private Long id;
+
+    private String testIdentifier;
+    private String results;
+
+    public TestResultOperational()
+    {
+
+    }
+
+    public TestResultOperational(String testIdentifier, String results) {
+        this.testIdentifier = testIdentifier;
+        this.results = results;
+    }
+
+    public String getTestIdentifier() {
+        return testIdentifier;
+    }
+
+    public void setTestIdentifier(String testIdentifier) {
+        this.testIdentifier = testIdentifier;
+    }
+
+    public String getResults() {
+        return results;
+    }
+
+    public void setResults(String results) {
+        this.results = results;
+    }
+
+
+
+
+}