📄 log.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -