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

📄 books.java

📁 是Eclipse web开发从入门到精通的源码
💻 JAVA
字号:
package library.hibernate;
// Generated 2006-8-5 16:17:23 by Hibernate Tools 3.1.0 beta3

import java.util.Date;


/**
 * Books generated by hbm2java
 */

public class Books  implements java.io.Serializable {


    // Fields    

     private String bookName;
     private String press;
     private String author;
     private String address;
     private Date pressDate;
     private Double price;
     private String com;
     private Integer booksCount;
     private Integer borrowedCount;


    // Constructors

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

	/** minimal constructor */
    public Books(String bookName) {
        this.bookName = bookName;
    }
    
    /** full constructor */
    public Books(String bookName, String press, String author, String address, Date pressDate, Double price, String com, Integer booksCount, Integer borrowedCount) {
        this.bookName = bookName;
        this.press = press;
        this.author = author;
        this.address = address;
        this.pressDate = pressDate;
        this.price = price;
        this.com = com;
        this.booksCount = booksCount;
        this.borrowedCount = borrowedCount;
    }
    

   
    // Property accessors

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

    public String getPress() {
        return this.press;
    }
    
    public void setPress(String press) {
        this.press = press;
    }

    public String getAuthor() {
        return this.author;
    }
    
    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public Date getPressDate() {
        return this.pressDate;
    }
    
    public void setPressDate(Date pressDate) {
        this.pressDate = pressDate;
    }

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

    public String getCom() {
        return this.com;
    }
    
    public void setCom(String com) {
        this.com = com;
    }

    public Integer getBooksCount() {
        return this.booksCount;
    }
    
    public void setBooksCount(Integer booksCount) {
        this.booksCount = booksCount;
    }

    public Integer getBorrowedCount() {
        return this.borrowedCount;
    }
    
    public void setBorrowedCount(Integer borrowedCount) {
        this.borrowedCount = borrowedCount;
    }
   








}

⌨️ 快捷键说明

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