⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderitem.java

📁 webWork+Spring+Hibernate整合开发网络书城,通过这个项目
💻 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 + -