193 lines
6.1 KiB
Java
193 lines
6.1 KiB
Java
|
|
package com.rzyc.model;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author
|
||
|
|
*/
|
||
|
|
public class OADistribution implements Serializable {
|
||
|
|
private String oadistributionid;
|
||
|
|
|
||
|
|
private String oataskid;
|
||
|
|
|
||
|
|
private String sysuserid;
|
||
|
|
|
||
|
|
private String syschinaname;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 接收人名
|
||
|
|
*/
|
||
|
|
private String receiveName;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 0刚发出来 100已完成
|
||
|
|
*/
|
||
|
|
private String systelephone;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 未执行 执行中 执行完成
|
||
|
|
*/
|
||
|
|
private String appstatus = "未读";
|
||
|
|
|
||
|
|
private Date createdon = new Date();
|
||
|
|
|
||
|
|
private String createdby;
|
||
|
|
|
||
|
|
private Date modifiedon = new Date();
|
||
|
|
|
||
|
|
private String modifiedby;
|
||
|
|
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
public String getReceiveName() {
|
||
|
|
return receiveName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setReceiveName(String receiveName) {
|
||
|
|
this.receiveName = receiveName;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getOadistributionid() {
|
||
|
|
return oadistributionid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setOadistributionid(String oadistributionid) {
|
||
|
|
this.oadistributionid = oadistributionid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getOataskid() {
|
||
|
|
return oataskid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setOataskid(String oataskid) {
|
||
|
|
this.oataskid = oataskid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getSysuserid() {
|
||
|
|
return sysuserid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSysuserid(String sysuserid) {
|
||
|
|
this.sysuserid = sysuserid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getSyschinaname() {
|
||
|
|
return syschinaname;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSyschinaname(String syschinaname) {
|
||
|
|
this.syschinaname = syschinaname;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getSystelephone() {
|
||
|
|
return systelephone;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSystelephone(String systelephone) {
|
||
|
|
this.systelephone = systelephone;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getAppstatus() {
|
||
|
|
return appstatus;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAppstatus(String appstatus) {
|
||
|
|
this.appstatus = appstatus;
|
||
|
|
}
|
||
|
|
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public boolean equals(Object that) {
|
||
|
|
if (this == that) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (that == null) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (getClass() != that.getClass()) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
OADistribution other = (OADistribution) that;
|
||
|
|
return (this.getOadistributionid() == null ? other.getOadistributionid() == null : this.getOadistributionid().equals(other.getOadistributionid()))
|
||
|
|
&& (this.getOataskid() == null ? other.getOataskid() == null : this.getOataskid().equals(other.getOataskid()))
|
||
|
|
&& (this.getSysuserid() == null ? other.getSysuserid() == null : this.getSysuserid().equals(other.getSysuserid()))
|
||
|
|
&& (this.getSyschinaname() == null ? other.getSyschinaname() == null : this.getSyschinaname().equals(other.getSyschinaname()))
|
||
|
|
&& (this.getSystelephone() == null ? other.getSystelephone() == null : this.getSystelephone().equals(other.getSystelephone()))
|
||
|
|
&& (this.getAppstatus() == null ? other.getAppstatus() == null : this.getAppstatus().equals(other.getAppstatus()))
|
||
|
|
&& (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()));
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public int hashCode() {
|
||
|
|
final int prime = 31;
|
||
|
|
int result = 1;
|
||
|
|
result = prime * result + ((getOadistributionid() == null) ? 0 : getOadistributionid().hashCode());
|
||
|
|
result = prime * result + ((getOataskid() == null) ? 0 : getOataskid().hashCode());
|
||
|
|
result = prime * result + ((getSysuserid() == null) ? 0 : getSysuserid().hashCode());
|
||
|
|
result = prime * result + ((getSyschinaname() == null) ? 0 : getSyschinaname().hashCode());
|
||
|
|
result = prime * result + ((getSystelephone() == null) ? 0 : getSystelephone().hashCode());
|
||
|
|
result = prime * result + ((getAppstatus() == null) ? 0 : getAppstatus().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());
|
||
|
|
return result;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
StringBuilder sb = new StringBuilder();
|
||
|
|
sb.append(getClass().getSimpleName());
|
||
|
|
sb.append(" [");
|
||
|
|
sb.append("Hash = ").append(hashCode());
|
||
|
|
sb.append(", oadistributionid=").append(oadistributionid);
|
||
|
|
sb.append(", oataskid=").append(oataskid);
|
||
|
|
sb.append(", sysuserid=").append(sysuserid);
|
||
|
|
sb.append(", syschinaname=").append(syschinaname);
|
||
|
|
sb.append(", systelephone=").append(systelephone);
|
||
|
|
sb.append(", appstatus=").append(appstatus);
|
||
|
|
sb.append(", createdon=").append(createdon);
|
||
|
|
sb.append(", createdby=").append(createdby);
|
||
|
|
sb.append(", modifiedon=").append(modifiedon);
|
||
|
|
sb.append(", modifiedby=").append(modifiedby);
|
||
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||
|
|
sb.append("]");
|
||
|
|
return sb.toString();
|
||
|
|
}
|
||
|
|
}
|