Added Android code
[wl-app.git] / Android / folioreader / src / main / java / com / folioreader / model / dictionary / Example.java
diff --git a/Android/folioreader/src/main/java/com/folioreader/model/dictionary/Example.java b/Android/folioreader/src/main/java/com/folioreader/model/dictionary/Example.java
new file mode 100755 (executable)
index 0000000..fa2b2fc
--- /dev/null
@@ -0,0 +1,28 @@
+package com.folioreader.model.dictionary;
+
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * @author gautam chibde on 4/7/17.
+ */
+@JsonIgnoreProperties(ignoreUnknown = true)
+public class Example {
+    @JsonProperty
+    private String text;
+
+    @Override
+    public String toString() {
+        return "Example{" +
+                "text='" + text + '\'' +
+                '}';
+    }
+
+    public String getText() {
+        return text;
+    }
+
+    public void setText(String text) {
+        this.text = text;
+    }
+}