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

📄 petstore.java

📁 用Struts+hibernate写的宠物医院
💻 JAVA
字号:
package com.sean.pet.hibernate.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Petstore entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Petstore implements java.io.Serializable {

	// Fields

	private String id;
	private String address;
	private String tel;
	private String fax;
	private Set employees = new HashSet(0);
	private Set treatments = new HashSet(0);

	// Constructors

	/** default constructor */
	public Petstore() {
	}

	/** full constructor */
	public Petstore(String address, String tel, String fax, Set employees,
			Set treatments) {
		this.address = address;
		this.tel = tel;
		this.fax = fax;
		this.employees = employees;
		this.treatments = treatments;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

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

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

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public Set getEmployees() {
		return this.employees;
	}

	public void setEmployees(Set employees) {
		this.employees = employees;
	}

	public Set getTreatments() {
		return this.treatments;
	}

	public void setTreatments(Set treatments) {
		this.treatments = treatments;
	}

}

⌨️ 快捷键说明

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