📄 productmodel.java
字号:
package com.runwit.ebookstore.model;
import java.math.BigDecimal;
public class ProductModel {
private long productId;
private int categoryId;
private String isbn;
private String name;
private BigDecimal price;
private String publisher;
private byte[] picByte;
private int editionNumber;
private String authors;
private String content;
private int discount; // 1~100
private String listinfo;
private long publisherDate;
private long createTime;
private int status;
public String getAuthors() {
return authors;
}
public void setAuthors(String authors) {
this.authors = authors;
}
public int getCategoryId() {
return categoryId;
}
public void setCategoryId(int categoryId) {
this.categoryId = categoryId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public int getDiscount() {
return discount;
}
public void setDiscount(int discount) {
this.discount = discount;
}
public int getEditionNumber() {
return editionNumber;
}
public void setEditionNumber(int editionNumber) {
this.editionNumber = editionNumber;
}
public String getIsbn() {
return isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public String getListinfo() {
return listinfo;
}
public void setListinfo(String listinfo) {
this.listinfo = listinfo;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public byte[] getPicByte() {
return picByte;
}
public void setPicByte(byte[] picByte) {
this.picByte = picByte;
}
public BigDecimal getPrice() {
return price;
}
public void setPrice(BigDecimal price) {
this.price = price;
}
public long getProductId() {
return productId;
}
public void setProductId(long productId) {
this.productId = productId;
}
public String getPublisher() {
return publisher;
}
public void setPublisher(String publisher) {
this.publisher = publisher;
}
public long getPublisherDate() {
return publisherDate;
}
public void setPublisherDate(long publisherDate) {
this.publisherDate = publisherDate;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -