abstractbook.java

来自「利用Java开发的网上书店系统」· Java 代码 · 共 102 行

JAVA
102
字号
package com.ascent.bean;



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

public abstract class AbstractBook  implements java.io.Serializable {


    // Fields    

     private Integer bookId;
     private String bookName;
     private String bookAuthor;
     private Double bookPrice;
     private String image;
     private String describes;


    // Constructors

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

	/** minimal constructor */
    public AbstractBook(Integer bookId) {
        this.bookId = bookId;
    }
    
    /** full constructor */
    public AbstractBook(Integer bookId, String bookName, String bookAuthor, Double bookPrice, String image, String describes) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPrice = bookPrice;
        this.image = image;
        this.describes = describes;
    }

   
    // Property accessors

    public Integer getBookId() {
        return this.bookId;
    }
    
    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return this.bookName;
    }
    
    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return this.bookAuthor;
    }
    
    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public Double getBookPrice() {
        return this.bookPrice;
    }
    
    public void setBookPrice(Double bookPrice) {
        this.bookPrice = bookPrice;
    }

    public String getImage() {
        return this.image;
    }
    
    public void setImage(String image) {
        this.image = image;
    }

    public String getDescribes() {
        return this.describes;
    }
    
    public void setDescribes(String describes) {
        this.describes = describes;
    }
   








}

⌨️ 快捷键说明

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