book.java

来自「企业进销存系统」· Java 代码 · 共 77 行

JAVA
77
字号
package modeleee;



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

public class Book  implements java.io.Serializable {


    // Fields    

     private String id;
     private String name;
     private String bookid;
     private Integer price;


    // Constructors

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

    
    /** full constructor */
    public Book(String name, String bookid, Integer price) {
        this.name = name;
        this.bookid = bookid;
        this.price = price;
    }

   
    // Property accessors

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

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

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

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








}

⌨️ 快捷键说明

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