employ.java

来自「Hibernate中的映射例子」· Java 代码 · 共 30 行

JAVA
30
字号
package test.general.pojo3;

public abstract class Employ {
		int id;
		String name;
		
		public Employ() {
			super();
			// TODO Auto-generated constructor stub
		}
		public Employ(int id, String name) {
			super();
			this.id = id;
			this.name = name;
		}
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		
}

⌨️ 快捷键说明

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