dept.java
来自「初学者的struts 的基本应用 包含struts action的 和 stru」· Java 代码 · 共 58 行
JAVA
58 行
package com.accp.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Dept entity.
*
* @author MyEclipse Persistence Tools
*/
public class Dept implements java.io.Serializable {
// Fields
private Long deptno;
private String dname;
private String loc;
// Constructors
/** default constructor */
public Dept() {
}
/** minimal constructor */
public Dept(Long deptno) {
this.deptno = deptno;
}
// Property accessors
public Long getDeptno() {
return this.deptno;
}
public void setDeptno(Long deptno) {
this.deptno = deptno;
}
public String getDname() {
return this.dname;
}
public void setDname(String dname) {
this.dname = dname;
}
public String getLoc() {
return this.loc;
}
public void setLoc(String loc) {
this.loc = loc;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?