From f7eeb5c5d40648bf1e0f76dab4e68c96995872c7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 12 Nov 2018 12:10:44 +0300 Subject: api: message entities --- src/main/java/com/juick/model/Entity.java | 49 +++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/main/java/com/juick/model/Entity.java (limited to 'src/main/java/com/juick/model') 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; + } +} -- cgit v1.2.3