239 lines
7.9 KiB
Java
239 lines
7.9 KiB
Java
package com.rzyc.model;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* @author
|
|
*/
|
|
public class SysLogOpt implements Serializable {
|
|
private String syslogoptid;
|
|
|
|
private String objname;
|
|
|
|
private String objchinaname;
|
|
|
|
private String objectid;
|
|
|
|
private String objecttext;
|
|
|
|
private String optid;
|
|
|
|
private String optusername;
|
|
|
|
private String optchinaname;
|
|
|
|
private String opttype;
|
|
|
|
private Date opttime;
|
|
|
|
private String createdby;
|
|
|
|
private Date createdon;
|
|
|
|
private String modifiedby;
|
|
|
|
private Date modifiedon;
|
|
|
|
private String sysenterpriseid;
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public String getSyslogoptid() {
|
|
return syslogoptid;
|
|
}
|
|
|
|
public void setSyslogoptid(String syslogoptid) {
|
|
this.syslogoptid = syslogoptid;
|
|
}
|
|
|
|
public String getObjname() {
|
|
return objname;
|
|
}
|
|
|
|
public void setObjname(String objname) {
|
|
this.objname = objname;
|
|
}
|
|
|
|
public String getObjchinaname() {
|
|
return objchinaname;
|
|
}
|
|
|
|
public void setObjchinaname(String objchinaname) {
|
|
this.objchinaname = objchinaname;
|
|
}
|
|
|
|
public String getObjectid() {
|
|
return objectid;
|
|
}
|
|
|
|
public void setObjectid(String objectid) {
|
|
this.objectid = objectid;
|
|
}
|
|
|
|
public String getObjecttext() {
|
|
return objecttext;
|
|
}
|
|
|
|
public void setObjecttext(String objecttext) {
|
|
this.objecttext = objecttext;
|
|
}
|
|
|
|
public String getOptid() {
|
|
return optid;
|
|
}
|
|
|
|
public void setOptid(String optid) {
|
|
this.optid = optid;
|
|
}
|
|
|
|
public String getOptusername() {
|
|
return optusername;
|
|
}
|
|
|
|
public void setOptusername(String optusername) {
|
|
this.optusername = optusername;
|
|
}
|
|
|
|
public String getOptchinaname() {
|
|
return optchinaname;
|
|
}
|
|
|
|
public void setOptchinaname(String optchinaname) {
|
|
this.optchinaname = optchinaname;
|
|
}
|
|
|
|
public String getOpttype() {
|
|
return opttype;
|
|
}
|
|
|
|
public void setOpttype(String opttype) {
|
|
this.opttype = opttype;
|
|
}
|
|
|
|
public Date getOpttime() {
|
|
return opttime;
|
|
}
|
|
|
|
public void setOpttime(Date opttime) {
|
|
this.opttime = opttime;
|
|
}
|
|
|
|
public String getCreatedby() {
|
|
return createdby;
|
|
}
|
|
|
|
public void setCreatedby(String createdby) {
|
|
this.createdby = createdby;
|
|
}
|
|
|
|
public Date getCreatedon() {
|
|
return createdon;
|
|
}
|
|
|
|
public void setCreatedon(Date createdon) {
|
|
this.createdon = createdon;
|
|
}
|
|
|
|
public String getModifiedby() {
|
|
return modifiedby;
|
|
}
|
|
|
|
public void setModifiedby(String modifiedby) {
|
|
this.modifiedby = modifiedby;
|
|
}
|
|
|
|
public Date getModifiedon() {
|
|
return modifiedon;
|
|
}
|
|
|
|
public void setModifiedon(Date modifiedon) {
|
|
this.modifiedon = modifiedon;
|
|
}
|
|
|
|
public String getSysenterpriseid() {
|
|
return sysenterpriseid;
|
|
}
|
|
|
|
public void setSysenterpriseid(String sysenterpriseid) {
|
|
this.sysenterpriseid = sysenterpriseid;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object that) {
|
|
if (this == that) {
|
|
return true;
|
|
}
|
|
if (that == null) {
|
|
return false;
|
|
}
|
|
if (getClass() != that.getClass()) {
|
|
return false;
|
|
}
|
|
SysLogOpt other = (SysLogOpt) that;
|
|
return (this.getSyslogoptid() == null ? other.getSyslogoptid() == null : this.getSyslogoptid().equals(other.getSyslogoptid()))
|
|
&& (this.getObjname() == null ? other.getObjname() == null : this.getObjname().equals(other.getObjname()))
|
|
&& (this.getObjchinaname() == null ? other.getObjchinaname() == null : this.getObjchinaname().equals(other.getObjchinaname()))
|
|
&& (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
|
|
&& (this.getObjecttext() == null ? other.getObjecttext() == null : this.getObjecttext().equals(other.getObjecttext()))
|
|
&& (this.getOptid() == null ? other.getOptid() == null : this.getOptid().equals(other.getOptid()))
|
|
&& (this.getOptusername() == null ? other.getOptusername() == null : this.getOptusername().equals(other.getOptusername()))
|
|
&& (this.getOptchinaname() == null ? other.getOptchinaname() == null : this.getOptchinaname().equals(other.getOptchinaname()))
|
|
&& (this.getOpttype() == null ? other.getOpttype() == null : this.getOpttype().equals(other.getOpttype()))
|
|
&& (this.getOpttime() == null ? other.getOpttime() == null : this.getOpttime().equals(other.getOpttime()))
|
|
&& (this.getCreatedby() == null ? other.getCreatedby() == null : this.getCreatedby().equals(other.getCreatedby()))
|
|
&& (this.getCreatedon() == null ? other.getCreatedon() == null : this.getCreatedon().equals(other.getCreatedon()))
|
|
&& (this.getModifiedby() == null ? other.getModifiedby() == null : this.getModifiedby().equals(other.getModifiedby()))
|
|
&& (this.getModifiedon() == null ? other.getModifiedon() == null : this.getModifiedon().equals(other.getModifiedon()))
|
|
&& (this.getSysenterpriseid() == null ? other.getSysenterpriseid() == null : this.getSysenterpriseid().equals(other.getSysenterpriseid()));
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
final int prime = 31;
|
|
int result = 1;
|
|
result = prime * result + ((getSyslogoptid() == null) ? 0 : getSyslogoptid().hashCode());
|
|
result = prime * result + ((getObjname() == null) ? 0 : getObjname().hashCode());
|
|
result = prime * result + ((getObjchinaname() == null) ? 0 : getObjchinaname().hashCode());
|
|
result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
|
|
result = prime * result + ((getObjecttext() == null) ? 0 : getObjecttext().hashCode());
|
|
result = prime * result + ((getOptid() == null) ? 0 : getOptid().hashCode());
|
|
result = prime * result + ((getOptusername() == null) ? 0 : getOptusername().hashCode());
|
|
result = prime * result + ((getOptchinaname() == null) ? 0 : getOptchinaname().hashCode());
|
|
result = prime * result + ((getOpttype() == null) ? 0 : getOpttype().hashCode());
|
|
result = prime * result + ((getOpttime() == null) ? 0 : getOpttime().hashCode());
|
|
result = prime * result + ((getCreatedby() == null) ? 0 : getCreatedby().hashCode());
|
|
result = prime * result + ((getCreatedon() == null) ? 0 : getCreatedon().hashCode());
|
|
result = prime * result + ((getModifiedby() == null) ? 0 : getModifiedby().hashCode());
|
|
result = prime * result + ((getModifiedon() == null) ? 0 : getModifiedon().hashCode());
|
|
result = prime * result + ((getSysenterpriseid() == null) ? 0 : getSysenterpriseid().hashCode());
|
|
return result;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(getClass().getSimpleName());
|
|
sb.append(" [");
|
|
sb.append("Hash = ").append(hashCode());
|
|
sb.append(", syslogoptid=").append(syslogoptid);
|
|
sb.append(", objname=").append(objname);
|
|
sb.append(", objchinaname=").append(objchinaname);
|
|
sb.append(", objectid=").append(objectid);
|
|
sb.append(", objecttext=").append(objecttext);
|
|
sb.append(", optid=").append(optid);
|
|
sb.append(", optusername=").append(optusername);
|
|
sb.append(", optchinaname=").append(optchinaname);
|
|
sb.append(", opttype=").append(opttype);
|
|
sb.append(", opttime=").append(opttime);
|
|
sb.append(", createdby=").append(createdby);
|
|
sb.append(", createdon=").append(createdon);
|
|
sb.append(", modifiedby=").append(modifiedby);
|
|
sb.append(", modifiedon=").append(modifiedon);
|
|
sb.append(", sysenterpriseid=").append(sysenterpriseid);
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
sb.append("]");
|
|
return sb.toString();
|
|
}
|
|
}
|