basicview.java

来自「hibernate_tutorial经典教程」· Java 代码 · 共 47 行

JAVA
47
字号
/* * Created on Sep 9, 2004 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */package tutorial.dev.multi;/** * @hibernate.class * 	table="All_VIEWS" */public class BasicView {	private Long id;	private String propA;	/**	 * @hibernate.id 	 * 	column="ID" 	 * 	generator-class="hilo" 	 * 	unsaved-value="null"	 */	public Long getId() {		return id;	}	public void setId(Long id) {		this.id = id;	}	/**	 * @hibernate.property	 */	public String getPropA() {		return propA;	}		public void setPropA(String propA) {		this.propA = propA;	}	public BasicView() {	}	public BasicView(String propA) {		this.propA = propA;	}	public String toString() {		return "Basic: " + propA;	}	}

⌨️ 快捷键说明

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