144 lines
4.2 KiB
Java
144 lines
4.2 KiB
Java
|
|
package com.rzyc.model;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author
|
||
|
|
*/
|
||
|
|
public class AppHelp implements Serializable {
|
||
|
|
/**
|
||
|
|
* 帮助id
|
||
|
|
*/
|
||
|
|
private String apphelpid;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 类型
|
||
|
|
*/
|
||
|
|
private String type;
|
||
|
|
|
||
|
|
private Date createdon;
|
||
|
|
|
||
|
|
private String createdby;
|
||
|
|
|
||
|
|
private Date modifiedon;
|
||
|
|
|
||
|
|
private String modifiedby;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 内容
|
||
|
|
*/
|
||
|
|
private String helpcontent;
|
||
|
|
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
public String getApphelpid() {
|
||
|
|
return apphelpid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setApphelpid(String apphelpid) {
|
||
|
|
this.apphelpid = apphelpid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getType() {
|
||
|
|
return type;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setType(String type) {
|
||
|
|
this.type = type;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getCreatedon() {
|
||
|
|
return createdon;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCreatedon(Date createdon) {
|
||
|
|
this.createdon = createdon;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getCreatedby() {
|
||
|
|
return createdby;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCreatedby(String createdby) {
|
||
|
|
this.createdby = createdby;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getModifiedon() {
|
||
|
|
return modifiedon;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setModifiedon(Date modifiedon) {
|
||
|
|
this.modifiedon = modifiedon;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getModifiedby() {
|
||
|
|
return modifiedby;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setModifiedby(String modifiedby) {
|
||
|
|
this.modifiedby = modifiedby;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getHelpcontent() {
|
||
|
|
return helpcontent;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setHelpcontent(String helpcontent) {
|
||
|
|
this.helpcontent = helpcontent;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public boolean equals(Object that) {
|
||
|
|
if (this == that) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (that == null) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (getClass() != that.getClass()) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
AppHelp other = (AppHelp) that;
|
||
|
|
return (this.getApphelpid() == null ? other.getApphelpid() == null : this.getApphelpid().equals(other.getApphelpid()))
|
||
|
|
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
|
||
|
|
&& (this.getCreatedon() == null ? other.getCreatedon() == null : this.getCreatedon().equals(other.getCreatedon()))
|
||
|
|
&& (this.getCreatedby() == null ? other.getCreatedby() == null : this.getCreatedby().equals(other.getCreatedby()))
|
||
|
|
&& (this.getModifiedon() == null ? other.getModifiedon() == null : this.getModifiedon().equals(other.getModifiedon()))
|
||
|
|
&& (this.getModifiedby() == null ? other.getModifiedby() == null : this.getModifiedby().equals(other.getModifiedby()))
|
||
|
|
&& (this.getHelpcontent() == null ? other.getHelpcontent() == null : this.getHelpcontent().equals(other.getHelpcontent()));
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public int hashCode() {
|
||
|
|
final int prime = 31;
|
||
|
|
int result = 1;
|
||
|
|
result = prime * result + ((getApphelpid() == null) ? 0 : getApphelpid().hashCode());
|
||
|
|
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
|
||
|
|
result = prime * result + ((getCreatedon() == null) ? 0 : getCreatedon().hashCode());
|
||
|
|
result = prime * result + ((getCreatedby() == null) ? 0 : getCreatedby().hashCode());
|
||
|
|
result = prime * result + ((getModifiedon() == null) ? 0 : getModifiedon().hashCode());
|
||
|
|
result = prime * result + ((getModifiedby() == null) ? 0 : getModifiedby().hashCode());
|
||
|
|
result = prime * result + ((getHelpcontent() == null) ? 0 : getHelpcontent().hashCode());
|
||
|
|
return result;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
StringBuilder sb = new StringBuilder();
|
||
|
|
sb.append(getClass().getSimpleName());
|
||
|
|
sb.append(" [");
|
||
|
|
sb.append("Hash = ").append(hashCode());
|
||
|
|
sb.append(", apphelpid=").append(apphelpid);
|
||
|
|
sb.append(", type=").append(type);
|
||
|
|
sb.append(", createdon=").append(createdon);
|
||
|
|
sb.append(", createdby=").append(createdby);
|
||
|
|
sb.append(", modifiedon=").append(modifiedon);
|
||
|
|
sb.append(", modifiedby=").append(modifiedby);
|
||
|
|
sb.append(", helpcontent=").append(helpcontent);
|
||
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||
|
|
sb.append("]");
|
||
|
|
return sb.toString();
|
||
|
|
}
|
||
|
|
}
|