2022-09-16 15:07:17 +08:00
|
|
|
package com.rzyc.model;
|
|
|
|
|
|
2022-09-20 14:54:58 +08:00
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
2022-09-23 17:04:45 +08:00
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
2022-09-20 14:54:58 +08:00
|
|
|
|
2022-09-16 15:07:17 +08:00
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author
|
|
|
|
|
*/
|
|
|
|
|
public class OADistribution implements Serializable {
|
2022-09-20 14:54:58 +08:00
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("主键id")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableId("OADistributionId")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String oadistributionid;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("任务id")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("OATaskId")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String oataskid;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("指派用户id")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("sned_id")
|
|
|
|
|
private String snedId;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("接收用户id")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("SysUserId")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String sysuserid;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("接收用户姓名")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("SysChinaName")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String syschinaname;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 接收人名
|
|
|
|
|
*/
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("接收人名")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String receiveName;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("接收用户电话")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("SysTelephone")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String systelephone;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("任务摘要")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("title")
|
|
|
|
|
private String title;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("任务内容")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("subject")
|
|
|
|
|
private String subject;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("开始时间")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("start_time")
|
|
|
|
|
private Date startTime;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("结束时间")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("end_time")
|
|
|
|
|
private Date endTime;
|
|
|
|
|
|
2022-09-16 15:07:17 +08:00
|
|
|
/**
|
|
|
|
|
* 未执行 执行中 执行完成
|
|
|
|
|
*/
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("1、未执行 2、执行中 3、执行完成")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("AppStatus")
|
|
|
|
|
private String appstatus;
|
2022-09-16 15:07:17 +08:00
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("创建时间")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("CreatedOn")
|
|
|
|
|
private Date createdon;
|
2022-09-16 15:07:17 +08:00
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("创建人")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("CreatedBy")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String createdby;
|
|
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("修改时间")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("ModifiedOn")
|
|
|
|
|
private Date modifiedon;
|
2022-09-16 15:07:17 +08:00
|
|
|
|
2022-09-23 17:04:45 +08:00
|
|
|
@ApiModelProperty("修改人")
|
2022-09-20 14:54:58 +08:00
|
|
|
@TableField("ModifiedBy")
|
2022-09-16 15:07:17 +08:00
|
|
|
private String modifiedby;
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
2022-09-20 14:54:58 +08:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-16 15:07:17 +08:00
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|