book.java

来自「webWork+Spring+Hibernate整合开发网络书城,通过这个项目」· Java 代码 · 共 82 行

JAVA
82
字号
package org.thj.bookstore.vo;



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

@SuppressWarnings("serial")
public class Book  implements java.io.Serializable {


    // Fields    

     private Integer bookid;
     private Catalog catalog;
     private String bookname;
     private Integer price;
     private String picture;
  

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

	/** minimal constructor */
    public Book(String bookname, Integer price, String picture) {
        this.bookname = bookname;
        this.price = price;
        this.picture = picture;
    }
 
   
    // Property accessors

    public Integer getBookid() {
        return this.bookid;
    }
    
    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public Catalog getCatalog() {
        return this.catalog;
    }
    
    public void setCatalog(Catalog catalog) {
        this.catalog = catalog;
    }

    public String getBookname() {
        return this.bookname;
    }
    
    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Integer getPrice() {
        return this.price;
    }
    
    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getPicture() {
        return this.picture;
    }
    
    public void setPicture(String picture) {
        this.picture = picture;
    }

  





}

⌨️ 快捷键说明

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