📄 history.java
字号:
package model.library.hibernate;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
import model.hr.hibernate.*;
/** @author Hibernate CodeGenerator */
public class History implements Serializable {
/** identifier field */
private Integer id;
/** persistent field */
private model.library.hibernate.Document document;
/** persistent field */
private model.hr.hibernate.Employee employee;
/** full constructor */
public History(model.library.hibernate.Document document, model.hr.hibernate.Employee employee) {
this.document = document;
this.employee = employee;
}
/** default constructor */
public History() {
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public model.library.hibernate.Document getDocument() {
return this.document;
}
public void setDocument(model.library.hibernate.Document document) {
this.document = document;
}
public model.hr.hibernate.Employee getEmployee() {
return this.employee;
}
public void setEmployee(model.hr.hibernate.Employee employee) {
this.employee = employee;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -