diff --git a/src/main/java/org/ntlab/citrusserver/entities/Account.java b/src/main/java/org/ntlab/citrusserver/entities/Account.java index 0567713..eb04687 100644 --- a/src/main/java/org/ntlab/citrusserver/entities/Account.java +++ b/src/main/java/org/ntlab/citrusserver/entities/Account.java @@ -11,6 +11,9 @@ @JsonIgnore private String password; + @JsonIgnore////// + private String accountColor; + public Account(String aid, String pass) { accountId = aid; password = pass; @@ -25,11 +28,14 @@ } @JsonIgnore public int getBookCount() {return bookcount;} - public void setId(String i) {accountId = i;} + @JsonIgnore public String getId() {return accountId;} public void setPassword(String p) {password = p;} public String getPassword() {return password;} + @JsonIgnore + public void setAccountColor(String a) {accountColor = a;} + public String getAccountColor() {return accountColor;} }