📄 orderitem.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -