📄 log.java
字号:
package com.wxd.common.popedom.domain.entity;
import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class Log implements Serializable {
/** identifier field */
private Integer logNo;
/** persistent field */
private String logDescribe;
/** persistent field */
private BigDecimal logTime;
/** persistent field */
private Integer operatorNo;
/** nullable persistent field */
private com.wxd.common.popedom.domain.entity.LogType logType;
/** full constructor */
public Log(String logDescribe, BigDecimal logTime, Integer operatorNo, com.wxd.common.popedom.domain.entity.LogType logType) {
this.logDescribe = logDescribe;
this.logTime = logTime;
this.operatorNo = operatorNo;
this.logType = logType;
}
/** default constructor */
public Log() {
}
/** minimal constructor */
public Log(String logDescribe, BigDecimal logTime, Integer operatorNo) {
this.logDescribe = logDescribe;
this.logTime = logTime;
this.operatorNo = operatorNo;
}
public Integer getLogNo() {
return this.logNo;
}
public void setLogNo(Integer logNo) {
this.logNo = logNo;
}
public String getLogDescribe() {
return this.logDescribe;
}
public void setLogDescribe(String logDescribe) {
this.logDescribe = logDescribe;
}
public BigDecimal getLogTime() {
return this.logTime;
}
public void setLogTime(BigDecimal logTime) {
this.logTime = logTime;
}
public Integer getOperatorNo() {
return this.operatorNo;
}
public void setOperatorNo(Integer operatorNo) {
this.operatorNo = operatorNo;
}
public com.wxd.common.popedom.domain.entity.LogType getLogType() {
return this.logType;
}
public void setLogType(com.wxd.common.popedom.domain.entity.LogType logType) {
this.logType = logType;
}
public String toString() {
return new ToStringBuilder(this)
.append("logNo", getLogNo())
.toString();
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( !(other instanceof Log) ) return false;
Log castOther = (Log) other;
return new EqualsBuilder()
.append(this.getLogNo(), castOther.getLogNo())
.isEquals();
}
public int hashCode() {
return new HashCodeBuilder()
.append(getLogNo())
.toHashCode();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -