java代码089

code089.java

package pack02;

//product��Ʒ�࣬��ʹ��֮ǰ��book�����
public class code089
{
    //��̬����
    public static final int PAGE_SIZE = 2;

    private int id;
    private String name;
    private double price;
    private int bookCount;
    private String author;

    public int getId()
    {
        return this.id;
    }

    public String getName()
    {
        return this.name;
    }

    public double getPirce()
    {
        return this.price;
    }

    public int getBookCount()
    {
        return this.bookCount;
    }

    public String getAuthor()
    {
        return this.author;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

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

    public void setBookCount(int bookCount)
    {
        this.bookCount = bookCount;
    }

    public void setAuthor(String author)
    {
        this.author = author;
    }
}

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0