📄 examination.java
字号:
package com.sean.pet.hibernate.po;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Examination entity.
*
* @author MyEclipse Persistence Tools
*/
public class Examination implements java.io.Serializable {
// Fields
private String id;
private Employee employee;
private Pet pet;
private Date time;
private String edesc;
private Set pettreatments = new HashSet(0);
// Constructors
/** default constructor */
public Examination() {
}
/** full constructor */
public Examination(Employee employee, Pet pet, Date time, String edesc,
Set pettreatments) {
this.employee = employee;
this.pet = pet;
this.time = time;
this.edesc = edesc;
this.pettreatments = pettreatments;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Employee getEmployee() {
return this.employee;
}
public void setEmployee(Employee employee) {
this.employee = employee;
}
public Pet getPet() {
return this.pet;
}
public void setPet(Pet pet) {
this.pet = pet;
}
public Date getTime() {
return this.time;
}
public void setTime(Date time) {
this.time = time;
}
public String getEdesc() {
return this.edesc;
}
public void setEdesc(String edesc) {
this.edesc = edesc;
}
public Set getPettreatments() {
return this.pettreatments;
}
public void setPettreatments(Set pettreatments) {
this.pettreatments = pettreatments;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -