aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model/User.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-04-10 22:53:40 +0300
committerGravatar Vitaly Takmazov2023-04-13 19:49:55 +0300
commit379f1a8661da46040332923a5ccfb555656b0a8b (patch)
tree12b3d6121d749c4dc942b10c733f77d7d6dbba94 /src/main/java/com/juick/model/User.java
parent3a1e45d3015df62eb5768a8e6929cb41dcaf9913 (diff)
Premium users
Diffstat (limited to 'src/main/java/com/juick/model/User.java')
-rw-r--r--src/main/java/com/juick/model/User.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/User.java b/src/main/java/com/juick/model/User.java
index 131ec1b1..5f89ecfc 100644
--- a/src/main/java/com/juick/model/User.java
+++ b/src/main/java/com/juick/model/User.java
@@ -61,6 +61,7 @@ public class User implements Serializable {
private String url;
private String description;
private final List<TagStats> tagStats;
+ private boolean premium;
public User() {
tokens = new ArrayList<>();
@@ -279,4 +280,12 @@ public class User implements Serializable {
public List<TagStats> getTagStats() {
return tagStats;
}
+
+ public boolean isPremium() {
+ return premium;
+ }
+
+ public void setPremium(boolean premium) {
+ this.premium = premium;
+ }
}