• 大小: 14.82MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-21
  • 语言: Java
  • 标签: servlet  

资源简介

servlet+jsp+bootsrap+mysql+pdf开发网上书城 运行图见链接:https://blog.csdn.net/qq_39893313/article/details/102688649

资源截图

代码片段和文件信息

package com.bookstore.domain;

import java.io.Serializable;

public class Book implements Serializable {

/**
 * 书
 */
private static final long serialVersionUID = 1L;

private String book_id;// 编号
private String book_name;// 书名
private String author;// 作者
private String publisher;// 出版社
private String category;// 种类
private int book_num;// 数量
private double price;// 价格
private String imgurl;// 图片来源
private String description;// 简介

public String getBook_id() {
return book_id;
}

public void setBook_id(String book_id) {
this.book_id = book_id;
}

public String getBook_name() {
return book_name;
}

public void setBook_name(String book_name) {
this.book_name = book_name;
}

public String getAuthor() {
return author;
}

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

public String getPublisher() {
return publisher;
}

public void setPublisher(String publisher) {
this.publisher = publisher;
}

public String getCategory() {
return category;
}

public void setCategory(String category) {
this.category = category;
}

public int getBook_num() {
return book_num;
}

public void setBook_num(int book_num) {
this.book_num = book_num;
}

public double getPrice() {
return price;
}

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

public String getImgurl() {
return imgurl;
}

public void setImgurl(String imgurl) {
this.imgurl = imgurl;
}

public String getDescription() {
return description;
}

public void setDescription(String description) {
this.description = description;
}

@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((book_id == null) ? 0 : book_id.hashCode());
return result;
}

@Override
public boolean equals(object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Book other = (Book) obj;
if (book_id == null) {
if (other.book_id != null)
return false;
} else if (!book_id.equals(other.book_id))
return false;
return true;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-22 18:39  OnlineBookStore\
     文件        1890  2019-01-11 00:56  OnlineBookStore\.classpath
     目录           0  2019-02-07 20:48  OnlineBookStore\.idea\
     文件         138  2018-12-26 21:10  OnlineBookStore\.idea\encodings.xml
     目录           0  2019-02-07 20:48  OnlineBookStore\.idea\libraries\
     文件        1103  2018-12-26 21:10  OnlineBookStore\.idea\libraries\lib.xml
     文件         263  2018-12-26 21:10  OnlineBookStore\.idea\misc.xml
     文件         277  2018-12-26 21:10  OnlineBookStore\.idea\modules.xml
     文件         172  2018-12-26 21:10  OnlineBookStore\.idea\vcs.xml
     文件       18533  2018-12-29 17:58  OnlineBookStore\.idea\workspace.xml
     文件        1048  2018-12-17 17:45  OnlineBookStore\.project
     目录           0  2019-02-07 20:48  OnlineBookStore\.recommenders\
     目录           0  2019-02-07 20:48  OnlineBookStore\.recommenders\caches\
     文件           2  2018-12-17 17:45  OnlineBookStore\.recommenders\caches\identified-project-coordinates.json
     文件           2  2018-12-17 17:45  OnlineBookStore\.recommenders\caches\manual-mappings.json
     目录           0  2019-02-07 20:48  OnlineBookStore\.recommenders\index\
     目录           0  2019-02-07 20:48  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\
     文件          20  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\segments.gen
     文件         244  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\segments_m
     文件     3366062  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.fdt
     文件       60404  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.fdx
     文件         104  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.fnm
     文件      151505  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.frq
     文件       83054  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.nrm
     文件       89341  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.prx
     文件       16447  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.tii
     文件     1030543  2018-12-17 17:45  OnlineBookStore\.recommenders\index\http___download_eclipse_org_recommenders_models_mars_\_l.tis
     目录           0  2019-02-07 20:48  OnlineBookStore\.settings\
     文件         567  2018-12-17 17:45  OnlineBookStore\.settings\.jsdtscope
     文件         412  2019-01-10 00:37  OnlineBookStore\.settings\org.eclipse.core.resources.prefs
     文件         364  2018-12-17 17:45  OnlineBookStore\.settings\org.eclipse.jdt.core.prefs
............此处省略429个文件信息

评论

共有 条评论