read.java

来自「JAVA图书管理系统有很多代码这只是很小的一部分」· Java 代码 · 共 60 行

JAVA
60
字号
/*
 * Read.java
 *
 * Created on 2008年6月10日, 下午1:41
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package library;


/**
 *
 * @author Administrator
 */
public class Read {
    private String code;
    private String name;
    private String sex;
    private String type;
    private String phone;
    private String dept;
    private String address;
    
    /** Creates a new instance of Read */
    public Read() {
    }
   public Read(String code,String name,String sex,String type,String phone,String dept,String address){ 
       this.address=address;
       this.code=code;
       this.dept=dept;
       this.name=name;
       this.phone=phone;
       this.sex=sex;
       this.type=type;
}
  public String getName(){
    return name; 
}
  public String getCode(){
      return code;
  }
  public String getSex(){
      return sex;
  }
  public String getAddress(){
      return address;
  }
  public String getPhone(){
      return phone;
  }
  public String getType(){
     return type; 
  }
  public String getDept(){
      return dept;
  }
}

⌨️ 快捷键说明

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