diff --git a/src/main/java/org/ntlab/citrusserver/entities/Account.java b/src/main/java/org/ntlab/citrusserver/entities/Account.java index 7694b27..6aac4b0 100644 --- a/src/main/java/org/ntlab/citrusserver/entities/Account.java +++ b/src/main/java/org/ntlab/citrusserver/entities/Account.java @@ -1,4 +1,21 @@ package org.ntlab.citrusserver.entities; public class Account { + String introduction; + int bookcount = 0; + String accountId; + String password; + + public void setIntroduction(String i) {introduction = i;} + public String getIntroduction() {return introduction;} + public int getNewBookId() { + bookcount += 1; + return bookcount; + } + public int getBookCount() {return bookcount;} + public void setId(String i) {accountId = i;} + public String getId() {return accountId;} + public void setPassword(String p) {password = p;} + public String getPassword() {return password;} + }