bookbrowse.java

来自「是Eclipse web开发从入门到精通的源码」· Java 代码 · 共 106 行

JAVA
106
字号
package library.hibernate;
// Generated 2006-8-5 16:17:23 by Hibernate Tools 3.1.0 beta3

import java.util.Date;


/**
 * BookBrowse generated by hbm2java
 */

public class BookBrowse  implements java.io.Serializable {


    // Fields    

     private String studentName;
     private String bookName;
     private Date returnDate;
     private Date borrowDate;
     private String com;
     private String isReturned;


    // Constructors

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

	/** minimal constructor */
    public BookBrowse(String studentName) {
        this.studentName = studentName;
    }
    
    /** full constructor */
    public BookBrowse(String studentName, String bookName, Date returnDate, Date borrowDate, String com, String isReturned) {
        this.studentName = studentName;
        this.bookName = bookName;
        this.returnDate = returnDate;
        this.borrowDate = borrowDate;
        this.com = com;
        this.isReturned = isReturned;
    }
    

   
    // Property accessors

    public String getStudentName() {
        return this.studentName;
    }
    
    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

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

    public Date getReturnDate() {
        return this.returnDate;
    }
    
    public void setReturnDate(Date returnDate) {
        this.returnDate = returnDate;
    }

    public Date getBorrowDate() {
        return this.borrowDate;
    }
    
    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }

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

    public String getIsReturned() {
        return this.isReturned;
    }
    
    public void setIsReturned(String isReturned) {
        this.isReturned = isReturned;
    }
   








}

⌨️ 快捷键说明

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