orderline.java

来自「非常经典的ssh整合实例」· Java 代码 · 共 81 行

JAVA
81
字号
package com.briup.bean;



/**
 * Orderline generated by MyEclipse - Hibernate Tools
 */

public class Orderline  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Book book;
     private Orderform orderform;
     private Long num;


    // Constructors

    /** default constructor */
    public Orderline() {
    }

	/** minimal constructor */
    public Orderline(Long num) {
        this.num = num;
    }
    
    /** full constructor */
    public Orderline(Book book, Orderform orderform, Long num) {
        this.book = book;
        this.orderform = orderform;
        this.num = num;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Book getBook() {
        return this.book;
    }
    
    public void setBook(Book book) {
        this.book = book;
    }

    public Orderform getOrderform() {
        return this.orderform;
    }
    
    public void setOrderform(Orderform orderform) {
        this.orderform = orderform;
    }

    public Long getNum() {
        return this.num;
    }
    
    public void setNum(Long num) {
        this.num = num;
    }
   








}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?