This commit is contained in:
xixu-me committed 2024-07-02 08:59:55 +08:00
1 parent eda528e2c9
commit f776b88a82
13 files changed
+22 -205

No files matched your search

-62
View File
@@ -1,7 +1,6 @@
package server.tools.crawling;
public class Book {
private String title;
private String author;
private String publisher;
@@ -21,110 +20,50 @@ public class Book {
this.href = href;
}
/**
* 获取
*
* @return title
*/
public String getTitle() {
return title;
}
/**
* 设置
*
* @param title
*/
public void setTitle(String title) {
this.title = title;
}
/**
* 获取
*
* @return author
*/
public String getAuthor() {
return author;
}
/**
* 设置
*
* @param author
*/
public void setAuthor(String author) {
this.author = author;
}
/**
* 获取
*
* @return publisher
*/
public String getPublisher() {
return publisher;
}
/**
* 设置
*
* @param publisher
*/
public void setPublisher(String publisher) {
this.publisher = publisher;
}
/**
* 获取
*
* @return oldprice
*/
public double getOldprice() {
return oldprice;
}
/**
* 设置
*
* @param oldprice
*/
public void setOldprice(double oldprice) {
this.oldprice = oldprice;
}
/**
* 获取
*
* @return newprice
*/
public double getNewprice() {
return newprice;
}
/**
* 设置
*
* @param newprice
*/
public void setNewprice(double newprice) {
this.newprice = newprice;
}
/**
* 获取
*
* @return href
*/
public String getHref() {
return href;
}
/**
* 设置
*
* @param href
*/
public void setHref(String href) {
this.href = href;
}
@@ -133,5 +72,4 @@ public class Book {
return "Book{title = " + title + ", author = " + author + ", publisher = " + publisher + ", oldprice = "
+ oldprice + ", newprice = " + newprice + ", href = " + href + "}";
}
}