Newer
Older
CitrusServer / src / main / java / org / ntlab / citrusserver / entities / Account.java
package org.ntlab.citrusserver.entities;

public class Account {
    String introduction;

    int bookcount = 0;

    public void setIntroduction(String i) {introduction = i;}
    public String getIntroduction() {return introduction;}

    public int getNewBookId() {
        bookcount += 1;
        return bookcount;
    }
    public int getBookCount() {return bookcount;}
}