public class ApiResult implements Serializable{

    private BookVO body; //
    private int code; //
    private String errMsg; //
    private BookVO data; //
    private enum errType; // [SUCCESS,WARN,ERROR]

    public BookVO getBody(){
        return body;
    }

    public void setBody(BookVO body){
        this.body = body;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getErrMsg(){
        return errMsg;
    }

    public void setErrMsg(String errMsg){
        this.errMsg = errMsg;
    }

    public BookVO getData(){
        return data;
    }

    public void setData(BookVO data){
        this.data = data;
    }

    public enum getErrType(){
        return errType;
    }

    public void setErrType(enum errType){
        this.errType = errType;
    }

}
public class BookVO implements Serializable{

    private long bookId; //图书id
    private String bookName; //图书名称
    private BookPrice price; //

    public long getBookId(){
        return bookId;
    }

    public void setBookId(long bookId){
        this.bookId = bookId;
    }

    public String getBookName(){
        return bookName;
    }

    public void setBookName(String bookName){
        this.bookName = bookName;
    }

    public BookPrice getPrice(){
        return price;
    }

    public void setPrice(BookPrice price){
        this.price = price;
    }

}
public class BookPrice implements Serializable{

    private double price; //价格
    private int country; //国家

    public double getPrice(){
        return price;
    }

    public void setPrice(double price){
        this.price = price;
    }

    public int getCountry(){
        return country;
    }

    public void setCountry(int country){
        this.country = country;
    }

}
public class BookVO implements Serializable{

    private long bookId; //图书id
    private String bookName; //图书名称
    private BookPrice price; //

    public long getBookId(){
        return bookId;
    }

    public void setBookId(long bookId){
        this.bookId = bookId;
    }

    public String getBookName(){
        return bookName;
    }

    public void setBookName(String bookName){
        this.bookName = bookName;
    }

    public BookPrice getPrice(){
        return price;
    }

    public void setPrice(BookPrice price){
        this.price = price;
    }

}
public class BookPrice implements Serializable{

    private double price; //价格
    private int country; //国家

    public double getPrice(){
        return price;
    }

    public void setPrice(double price){
        this.price = price;
    }

    public int getCountry(){
        return country;
    }

    public void setCountry(int country){
        this.country = country;
    }

}