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

📄 bookbean.java

📁 Java.Web开发详解.书中例子的源代码
💻 JAVA
字号:
package org.sunxin.lesson.jsp.bookstore;

import java.io.*;

public class BookBean implements Serializable
{
    private int id;
    private String title;
    private String author;
    private String bookconcern;
    private String publish_date;
    private float price;
    private int amount;
    private String remark;

    public BookBean()
    {
    }
    
    public BookBean(int id, String title, String author, String bookconcern,
                  String publish_date, float price, int amount, String remark)
    {
        this.id=id;
        this.title=title;
        this.author=author;
        this.bookconcern=bookconcern;
        this.publish_date=publish_date;
        this.price=price;
        this.amount=amount;
        this.remark=remark;
    }
    
    public int getId()
    {
        return id;
    }
    
    public void setTitle(String title)
    {
        this.title = title;
    }
    
    public void setAuthor(String author)
    {
        this.author = author;
    }
    
    public void setBookconcern(String bookconcern)
    {
        this.bookconcern = bookconcern;
    }
    
    public void setPublish_date(String publish_date)
    {
        this.publish_date = publish_date;
    }
    
    public void setPrice(float price)
    {
        this.price = price;
    }
    
    public void setAmount(int amount)
    {
        this.amount = amount;
    }
    
    public void setRemark(String remark)
    {
        this.remark = remark;
    }
    
    public String getTitle()
    {
        return title;
    }
    
    public String getAuthor()
    {
        return author;
    }
    
    public String getBookconcern()
    {
        return bookconcern;
    }
    
    public String getPublish_date()
    {
        return publish_date;
    }
    
    public float getPrice()
    {
        return price;
    }
    
    public int getAmount()
    {
        return amount;
    }
    
    public String getRemark()
    {
        return remark;
    }
}

⌨️ 快捷键说明

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