package com.qianwen.smartman.modules.smis.vo; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; import javax.validation.constraints.NotEmpty; import com.qianwen.smartman.modules.notify.dto.NotifyBusinessSendDTO; public class MaintainPlanAutoAddVO implements Serializable { private static final long serialVersionUID = 1; @NotEmpty(message = "机器Id不能为空") @ApiModelProperty("机器Id集合") private List deviceIdList; @NotEmpty(message = "保养项目Id不能为空") @ApiModelProperty("保养项目Id集合") private List maintainProjectIdList; @ApiModelProperty("备注") private String remark; @ApiModelProperty("保养性质") private Integer maintainNature; @ApiModelProperty(value = "保养负责人id", dataType = "java.lang.String") private Long maintainUserId; @ApiModelProperty("保养负责人名称") private String maintainUserName; @ApiModelProperty("业务消息发送") NotifyBusinessSendDTO notifyBusinessSend; public void setDeviceIdList(final List deviceIdList) { this.deviceIdList = deviceIdList; } public void setMaintainProjectIdList(final List maintainProjectIdList) { this.maintainProjectIdList = maintainProjectIdList; } public void setRemark(final String remark) { this.remark = remark; } public void setMaintainNature(final Integer maintainNature) { this.maintainNature = maintainNature; } public void setMaintainUserId(final Long maintainUserId) { this.maintainUserId = maintainUserId; } public void setMaintainUserName(final String maintainUserName) { this.maintainUserName = maintainUserName; } public void setNotifyBusinessSend(final NotifyBusinessSendDTO notifyBusinessSend) { this.notifyBusinessSend = notifyBusinessSend; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MaintainPlanAutoAddVO) { MaintainPlanAutoAddVO other = (MaintainPlanAutoAddVO) o; if (other.canEqual(this)) { Object this$maintainNature = getMaintainNature(); Object other$maintainNature = other.getMaintainNature(); if (this$maintainNature == null) { if (other$maintainNature != null) { return false; } } else if (!this$maintainNature.equals(other$maintainNature)) { return false; } Object this$maintainUserId = getMaintainUserId(); Object other$maintainUserId = other.getMaintainUserId(); if (this$maintainUserId == null) { if (other$maintainUserId != null) { return false; } } else if (!this$maintainUserId.equals(other$maintainUserId)) { return false; } Object this$deviceIdList = getDeviceIdList(); Object other$deviceIdList = other.getDeviceIdList(); if (this$deviceIdList == null) { if (other$deviceIdList != null) { return false; } } else if (!this$deviceIdList.equals(other$deviceIdList)) { return false; } Object this$maintainProjectIdList = getMaintainProjectIdList(); Object other$maintainProjectIdList = other.getMaintainProjectIdList(); if (this$maintainProjectIdList == null) { if (other$maintainProjectIdList != null) { return false; } } else if (!this$maintainProjectIdList.equals(other$maintainProjectIdList)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { return false; } Object this$maintainUserName = getMaintainUserName(); Object other$maintainUserName = other.getMaintainUserName(); if (this$maintainUserName == null) { if (other$maintainUserName != null) { return false; } } else if (!this$maintainUserName.equals(other$maintainUserName)) { return false; } Object this$notifyBusinessSend = getNotifyBusinessSend(); Object other$notifyBusinessSend = other.getNotifyBusinessSend(); return this$notifyBusinessSend == null ? other$notifyBusinessSend == null : this$notifyBusinessSend.equals(other$notifyBusinessSend); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MaintainPlanAutoAddVO; } public int hashCode() { Object $maintainNature = getMaintainNature(); int result = (1 * 59) + ($maintainNature == null ? 43 : $maintainNature.hashCode()); Object $maintainUserId = getMaintainUserId(); int result2 = (result * 59) + ($maintainUserId == null ? 43 : $maintainUserId.hashCode()); Object $deviceIdList = getDeviceIdList(); int result3 = (result2 * 59) + ($deviceIdList == null ? 43 : $deviceIdList.hashCode()); Object $maintainProjectIdList = getMaintainProjectIdList(); int result4 = (result3 * 59) + ($maintainProjectIdList == null ? 43 : $maintainProjectIdList.hashCode()); Object $remark = getRemark(); int result5 = (result4 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $maintainUserName = getMaintainUserName(); int result6 = (result5 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode()); Object $notifyBusinessSend = getNotifyBusinessSend(); return (result6 * 59) + ($notifyBusinessSend == null ? 43 : $notifyBusinessSend.hashCode()); } public String toString() { return "MaintainPlanAutoAddVO(deviceIdList=" + getDeviceIdList() + ", maintainProjectIdList=" + getMaintainProjectIdList() + ", remark=" + getRemark() + ", maintainNature=" + getMaintainNature() + ", maintainUserId=" + getMaintainUserId() + ", maintainUserName=" + getMaintainUserName() + ", notifyBusinessSend=" + getNotifyBusinessSend() + ")"; } public List getDeviceIdList() { return this.deviceIdList; } public List getMaintainProjectIdList() { return this.maintainProjectIdList; } public String getRemark() { return this.remark; } public Integer getMaintainNature() { return this.maintainNature; } public Long getMaintainUserId() { return this.maintainUserId; } public String getMaintainUserName() { return this.maintainUserName; } public NotifyBusinessSendDTO getNotifyBusinessSend() { return this.notifyBusinessSend; } }