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

📄 bookinfo.java

📁 《Web程序测试实训教程(Java版)》-徐民鹰-源代码
💻 JAVA
字号:
package bookInfo;

public class BookInfo 
{
    private int bookInfoId;
    private int bookTypeId;
    private float pirce;
    private int amount; 
    private String bookTitle = null;
    private String author = null;
    private String ISBN = null;
    private String pubDate = null;
    private String content = null;
    private String press = null;
    private String picPath=null;
    
    public BookInfo(){
    	//
    }
    
    public BookInfo (int bid, int tid, float prc, int amt, String bt, 
    		String aut, String isbn, String pd, String cont, String prs, String pp)
    {
        this.bookInfoId = bid;
        this.bookTypeId = tid;
        this.pirce = prc;
        this.amount = amt;
        this.bookTitle = bt;
        this.author = aut;
        this.ISBN = isbn;
        this.pubDate = pd;
        this.content = cont;
        this.press = prs;
        this.picPath = pp;
    }

    public int getBookInfoId ()
    {
        return this.bookInfoId;
    }
    
    public void setBookInfoId (int bid)
    {
        this.bookInfoId=bid;
    }
    
    public int getBookTypeId ()
    {
        return this.bookTypeId;
    }
    
    public void setBookTypeId (int tid)
    {
        this.bookTypeId=tid;
    }
    
    public int getAmount ()
    {
        return this.amount;
    }
    
    public void setAmount (int at)
    {
        this.amount=at;
    }
    
    public float getPrice ()
    {
        return this.pirce;
    }

    public void setPrice (float pr)
    {
        this.pirce=pr;
    }
    
    public String getBookTitle ()
    {
        return this.bookTitle;
    }

    public void setBookTitle (String bt)
    {
        this.bookTitle=bt;
    }
    
    public String getAuthor ()
    {
        return this.author;
    }

    public void setAuthor (String au)
    {
        this.author=au;
    }
    
    public String getIsbn ()
    {
        return this.ISBN;
    }

    public void setISBN (String isbn)
    {
        this.ISBN=isbn;
    }
    
    public String getPubdate ()
    {
        return this.pubDate;
    }

    public void setPubDate (String pd)
    {
        this.pubDate=pd;
    }
    
    public String getContent ()
    {
        return this.content;
    }

    public void setContent (String ct)
    {
        this.content=ct;
    }
    
    public String getPress ()
    {
        return this.press;
    }
    
    public void setPress (String ps)
    {
        this.press=ps;
    }
    
    public String getPicpath ()
    {
        return this.picPath;
    }
    
    public void setPicpath (String pp)
    {
        this.picPath=pp;
    }
}

⌨️ 快捷键说明

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