java网上书店模板_网上书店静态网站模板

/**

* 图书实体

*/

import java.util.*;

public class Books{

private Integer id;//图书编号

private String isbn;//图书ISBN

private String bookName;//书名

private Integer type;//图书类型,类型表外键

private String publisher;//出版社

private String author;//作者

private String introduce;//图书介绍

private Float price;//图书价格

private Date pdate;//出版日期

private String conver;//封皮,存储图片路径

private Date intime;//入库时间

private boolean newBook;//是否为新书

private boolean commend;//是否推荐

private Integer quantity;//库存量

private Integer selled;

public void setId(Integer id) {

this.id = id;

}

public void setIsbn(String isbn) {

this.isbn = isbn;

}

public void setBookName(String bookName) {

this.bookName = bookName;

}

public void setType(Integer type) {

this.type = type;

}

public void setPublisher(String publisher) {

this.publisher = publisher;

}

public void setAuthor(String author) {

this.author = author;

}

public void setIntroduce(String introduce) {

this.introduce = introduce;

}

public void setPrice(Float price) {

this.price = price;

}

public void setPdate(Date pdate) {

this.pdate = pdate;

}

public void setConver(String conver) {

this.conver = conver;

}

public void setIntime(Date intime) {

this.intime = intime;

}

public void setNewBook(boolean newBook) {

this.newBook = newBook;

}

public void setCommend(boolean commend) {

this.commend = commend;

}

public void setQuantity(Integer quantity) {

this.quantity = quantity;

}

public void setSelled(Integer selled) {

this.selled = selled;

}

public Integer getId() {

return (this.id);

}

public String getIsbn() {

return (this.isbn);

}

public String getBookName() {

return (this.bookName);

}

public Integer getType() {

return (this.type);

}

public String getPublisher() {

return (this.publisher);

}

public String getAuthor() {

return (this.author);

}

public String getIntroduce() {

return (this.introduce);

}

public Float getPrice() {

return (this.price);

}

public Date getPdate() {

return (this.pdate);

}

public String getConver() {

return (this.conver);

}

public Date getIntime() {

return (this.intime);

}

public boolean getNewBook() {

return (this.newBook);

}

public boolean getCommend() {

return (this.commend);

}

public Integer getQuantity() {

return (this.quantity);

}

public Integer getSelled() {

return (this.selled);

}//已售出量

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值