aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/User.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/User.java b/src/main/java/com/juick/model/User.java
index 5cc0d125..131ec1b1 100644
--- a/src/main/java/com/juick/model/User.java
+++ b/src/main/java/com/juick/model/User.java
@@ -56,6 +56,7 @@ public class User implements Serializable {
private URI uri;
private Instant seen;
private boolean verified;
+ private boolean service;
private String country;
private String url;
private String description;
@@ -243,6 +244,13 @@ public class User implements Serializable {
public void setVerified(boolean verified) {
this.verified = verified;
}
+ @XmlTransient
+ public boolean isService() {
+ return service;
+ }
+ public void setService(boolean service) {
+ this.service = service;
+ }
public String getCountry() {
return country;