orderitem.java
来自「webWork+Spring+Hibernate整合开发网络书城,通过这个项目」· Java 代码 · 共 82 行
JAVA
82 行
package org.thj.bookstore.vo;
/**
* Orderitem generated by MyEclipse - Hibernate Tools
*/
@SuppressWarnings("serial")
public class Orderitem implements java.io.Serializable {
// Fields
private Integer orderitemid;
private Book book;
private Orders orders;
private Integer quantity;
// Constructors
/** default constructor */
public Orderitem() {
}
/** minimal constructor */
public Orderitem(Integer quantity) {
this.quantity = quantity;
}
/** full constructor */
public Orderitem(Book book, Orders orders, Integer quantity) {
this.book = book;
this.orders = orders;
this.quantity = quantity;
}
// Property accessors
public Integer getOrderitemid() {
return this.orderitemid;
}
public void setOrderitemid(Integer orderitemid) {
this.orderitemid = orderitemid;
}
public Book getBook() {
return this.book;
}
public void setBook(Book book) {
this.book = book;
}
public Orders getOrders() {
return this.orders;
}
public void setOrders(Orders orders) {
this.orders = orders;
}
public Integer getQuantity() {
return this.quantity;
}
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?