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

📄 employee.java

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

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

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

public class Employee implements java.io.Serializable {

	// Fields

	private String id;
	private Petstore petstore;
	private String name;
	private String address;
	private String tel;
	private Date birthday;
	private String sex;
	private String insurance;
	private String job;
	private Double sal;
	private Set examinations = new HashSet(0);

	// Constructors

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

	/** full constructor */
	public Employee(Petstore petstore, String name, String address, String tel,
			Date birthday, String sex, String insurance, String job,
			Double sal, Set examinations) {
		this.petstore = petstore;
		this.name = name;
		this.address = address;
		this.tel = tel;
		this.birthday = birthday;
		this.sex = sex;
		this.insurance = insurance;
		this.job = job;
		this.sal = sal;
		this.examinations = examinations;
	}

	// Property accessors

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

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

	public Petstore getPetstore() {
		return this.petstore;
	}

	public void setPetstore(Petstore petstore) {
		this.petstore = petstore;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	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 Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getInsurance() {
		return this.insurance;
	}

	public void setInsurance(String insurance) {
		this.insurance = insurance;
	}

	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Double getSal() {
		return this.sal;
	}

	public void setSal(Double sal) {
		this.sal = sal;
	}

	public Set getExaminations() {
		return this.examinations;
	}

	public void setExaminations(Set examinations) {
		this.examinations = examinations;
	}

}

⌨️ 快捷键说明

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