package com.rzyc.model; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import java.io.Serializable; import java.util.Date; /** * @author */ public class OADistribution implements Serializable { @TableId("OADistributionId") private String oadistributionid; @TableField("OATaskId") private String oataskid; @TableField("sned_id") private String snedId; @TableField("SysUserId") private String sysuserid; @TableField("SysChinaName") private String syschinaname; /** * 接收人名 */ private String receiveName; @TableField("SysTelephone") private String systelephone; @TableField("title") private String title; @TableField("subject") private String subject; @TableField("start_time") private Date startTime; @TableField("end_time") private Date endTime; /** * 未执行 执行中 执行完成 */ @TableField("AppStatus") private String appstatus; @TableField("CreatedOn") private Date createdon; @TableField("CreatedBy") private String createdby; @TableField("ModifiedOn") private Date modifiedon; @TableField("ModifiedBy") private String modifiedby; private static final long serialVersionUID = 1L; public String getSnedId() { return snedId; } public void setSnedId(String snedId) { this.snedId = snedId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } public Date getEndTime() { return endTime; } public void setEndTime(Date endTime) { this.endTime = endTime; } public static long getSerialVersionUID() { return serialVersionUID; } 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(); } }