java代码075
文章目录
code075.java
package pack02;
//Book ͼ����
public class code075
{
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 '����'
)
*/
}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册⭐️ Admin快速开发: https://show.cool-admin.com/
赞 0⭐️ 官方文档: https://cool-js.com
赞 0⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld
赞 0