aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-15 19:51:49 +0300
committerGravatar Vitaly Takmazov2022-12-15 19:51:56 +0300
commitc9617232d5eeced643b510c108384619a7fc79b0 (patch)
tree2c08a3084f21b8c54a2bdfba6331db13991b60af /src/main/java/com/juick/model
parent5933eac025502978a4c0e3546ed9504408e6969c (diff)
Extract user to actor conversion code into Converter
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;