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

📄 car.java

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 JAVA
字号:
package org.hibernate.test.entitymode.dom4j.many2one;import java.util.HashSet;import java.util.Set;/** * @author Paco Hern醤dez */public class Car implements java.io.Serializable {	private long id;	private String model;	private CarType carType;	private Set carParts = new HashSet();		/**	 * @return Returns the carType.	 */	public CarType getCarType() {		return carType;	}	/**	 * @param carType The carType to set.	 */	public void setCarType(CarType carType) {		this.carType = carType;	}	/**	 * @return Returns the id.	 */	public long getId() {		return id;	}	/**	 * @param id The id to set.	 */	public void setId(long id) {		this.id = id;	}	/**	 * @return Returns the model.	 */	public String getModel() {		return model;	}	/**	 * @param model The model to set.	 */	public void setModel(String model) {		this.model = model;	}	public Set getCarParts() {		return carParts;	}	public void setCarParts(Set carParts) {		this.carParts = carParts;	}}

⌨️ 快捷键说明

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