log.java
来自「Jsp/Servlet的完整练习版。希望大家好好珍惜。」· Java 代码 · 共 64 行
JAVA
64 行
package dfbz.yiyang.persist;
import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* The persistent class for the t_log database table.
*
* @author BEA Workshop Studio
*/
public class Log implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
private Integer id;
private java.sql.Timestamp time;
private String action;
private Person person;
private Module module;
public Log() {
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public java.sql.Timestamp getTime() {
return this.time;
}
public void setTime(java.sql.Timestamp time) {
this.time = time;
}
public String getAction() {
return this.action;
}
public void setAction(String action) {
this.action = action;
}
//uni-directional many-to-one association to Person
public Person getPerson() {
return this.person;
}
public void setPerson(Person person) {
this.person = person;
}
//uni-directional many-to-one association to Module
public Module getModule() {
return this.module;
}
public void setModule(Module module) {
this.module = module;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?