department.java~1~

来自「java+sql2000企业人力管理系统」· JAVA~1~ 代码 · 共 50 行

JAVA~1~
50
字号
package manpowermanager.dept;

import java.awt.*;
import javax.swing.*;

public class Department
    extends JPanel {
  BorderLayout borderLayout1 = new BorderLayout();
  private int dep_Id;
  private String dep_Name;
  private String describe;
  public Department() {
    try {
      jbInit();
    }
    catch (Exception exception) {
      exception.printStackTrace();
    }
  }

  private void jbInit() throws Exception {
    setLayout(borderLayout1);
  }

  public void setDep_Id(int dep_Id) {
    this.dep_Id = dep_Id;
  }

  public void setDep_Name(String dep_Name) {
    this.dep_Name = dep_Name;
  }

  public void setDescribe(String describe) {
    this.describe = describe;
  }

  public int getDep_Id() {
    return dep_Id;
  }

  public String getDep_Name() {
    return dep_Name;
  }

  public String getDescribe() {
    return describe;
  }

}

⌨️ 快捷键说明

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