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

📄 book.java

📁 JAVA图书管理系统有很多代码这只是很小的一部分
💻 JAVA
字号:
/*
 * Book.java
 *
 * Created on 2004年1月4日, 下午7:32
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package library;

/**
 *
 * @author Administrator
 */
public class Book {
    private String code;
    private String name;
    private String type;
    private String press;
    private String writer;
    private boolean isBorrow;
    private String reader_code;
    /** Creates a new instance of Book */
    public Book(String code,String name,String type,String press,String writer,boolean isBorrow,String reader_code) {
    this.code=code;
    this.isBorrow=isBorrow;
    this.name=name;
    this.press=press;
    this.reader_code=reader_code;
    this.writer=writer;
    this.type=type;
    }
    public String getName(){
       return name;
   }
   public String getCode(){
       return code;
   }
    public String getPress(){
     return press;
 }
 public String getReader_code(){
     return reader_code;
 }
 public String getWriter(){
   return writer;
 }
 public String getType(){
     return type;
 }
 public boolean getIsBorrow(){
    return isBorrow; 
 }
 public void setName(String name){
     this.name=name;
 }
  public void setCode(String code){
      this.code=code;
  }
  public void setType(String type){
    this.type=type;  
  }
   public void setPress(String press ){
       this.press=press;
   }
    public void setWriter(String writer){
        this.writer=writer;
    }
     public void setReader_code(String reader_code){
         this.reader_code=reader_code;
     }
     }

⌨️ 快捷键说明

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