⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contact.java

📁 java对象/关系数据库映射工具hibernate和java web 框架struts结合的实例
💻 JAVA
字号:
//$Id: Contact.java,v 1.1.1.1 2003/03/09 12:37:45 thusted Exp $
package eg;

public class Contact {
	private String contactName;
	private String address;
	private String phone;
	private Long id; // the Hibernate identifier
	private int version; // the Hibernate version number

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


	public String getContactName() {
		return contactName;
	}
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}


	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}


	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}


	private int getVersion() {
		return version;
	}

	private void setVersion(int version) {
		this.version = version;
	}

}

⌨️ 快捷键说明

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