aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-12 12:10:44 +0300
committerGravatar Vitaly Takmazov2018-11-12 12:10:49 +0300
commitf7eeb5c5d40648bf1e0f76dab4e68c96995872c7 (patch)
tree79942d5fad59ca791e929b51eeb680dc55700165 /src/main/java/com/juick/model
parentd158b85517189afd43532a752e0093394c135f0f (diff)
api: message entities
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/Entity.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/Entity.java b/src/main/java/com/juick/model/Entity.java
new file mode 100644
index 00000000..15a88a32
--- /dev/null
+++ b/src/main/java/com/juick/model/Entity.java
@@ -0,0 +1,49 @@
+package com.juick.model;
+
+public class Entity {
+ private String type;
+ private String url;
+ private String text;
+ private int start;
+ private int end;
+
+ public String getUrl() {
+ return url;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public int getStart() {
+ return start;
+ }
+
+ public void setStart(int start) {
+ this.start = start;
+ }
+
+ public int getEnd() {
+ return end;
+ }
+
+ public void setEnd(int end) {
+ this.end = end;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+}