java代码078

code078.java

package pack02;

//ͼ����,
public class code078
{
    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 getPrice()
    {
        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;
    }

    /*
create table tb_books (
    id int auto_increment not null primary key comment 'ͼ����',
    name varchar(45) not null comment 'ͼ������',
    price double not null comment '�۸�',
    bookCount int not null comment '����',
    author varchar(45) not null comment '����'
)
     */
}

评论

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