staff_obj_m.java~2~

来自「很好的Java绘图程序源代码」· JAVA~2~ 代码 · 共 128 行

JAVA~2~
128
字号
package project;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class Staff_obj_M {
  private int id;
  private String name;
  private String birth;
  private int sex;
  private int dep;
  private int position;
  private String telephone;
  private String address;
  private String hiredate;
  private String contract;
  private int salary;
  private String education;

  public Staff_obj_M() {
  }

  public void setId(int id) {
    this.id = id;
  }

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

  public void setBirth(String birth) {
    this.birth = birth;
  }

  public void setSex(int sex) {
    this.sex = sex;
  }

  public void setDep(int dep) {
    this.dep = dep;
  }

  public void setPosition(int position) {
    this.position = position;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public void setHiredate(String hiredate) {
    this.hiredate = hiredate;
  }

  public void setContract(String contract) {
    this.contract = contract;
  }

  public void setSalary(int salary) {
    this.salary = salary;
  }

  public void setEducation(String education) {
    this.education = education;
  }

  public int getId() {
    return id;
  }

  public String getName() {
    return name;
  }

  public String getBirth() {
    return birth;
  }

  public int getSex() {
    return sex;
  }

  public int getDep() {
    return dep;
  }

  public int getPosition() {
    return position;
  }

  public String getTelephone() {
    return telephone;
  }

  public String getAddress() {
    return address;
  }

  public String getHiredate() {
    return hiredate;
  }

  public String getContract() {
    return contract;
  }

  public int getSalary() {
    return salary;
  }

  public String getEducation() {
    return education;
  }
}

⌨️ 快捷键说明

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