package com.qianwen.smartman.modules.notify.vo; import io.swagger.annotations.ApiModelProperty; import java.util.List; import java.util.stream.Collectors; import com.qianwen.core.tool.utils.Func; import com.qianwen.smartman.modules.notify.dto.NotifyDefaultPersonDTO; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/NotifyDefaultObjectVO.class */ public class NotifyDefaultObjectVO { private String businessKey; @ApiModelProperty("员工列表") List empList; @ApiModelProperty("部门列表") List orgList; @ApiModelProperty("员工ids") List empIds; @ApiModelProperty("部门ids") List orgIds; public void setBusinessKey(final String businessKey) { this.businessKey = businessKey; } public void setEmpList(final List empList) { this.empList = empList; } public void setOrgList(final List orgList) { this.orgList = orgList; } public void setEmpIds(final List empIds) { this.empIds = empIds; } public void setOrgIds(final List orgIds) { this.orgIds = orgIds; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof NotifyDefaultObjectVO) { NotifyDefaultObjectVO other = (NotifyDefaultObjectVO) o; if (other.canEqual(this)) { Object this$businessKey = getBusinessKey(); Object other$businessKey = other.getBusinessKey(); if (this$businessKey == null) { if (other$businessKey != null) { return false; } } else if (!this$businessKey.equals(other$businessKey)) { return false; } Object this$empList = getEmpList(); Object other$empList = other.getEmpList(); if (this$empList == null) { if (other$empList != null) { return false; } } else if (!this$empList.equals(other$empList)) { return false; } Object this$orgList = getOrgList(); Object other$orgList = other.getOrgList(); if (this$orgList == null) { if (other$orgList != null) { return false; } } else if (!this$orgList.equals(other$orgList)) { return false; } Object this$empIds = getEmpIds(); Object other$empIds = other.getEmpIds(); if (this$empIds == null) { if (other$empIds != null) { return false; } } else if (!this$empIds.equals(other$empIds)) { return false; } Object this$orgIds = getOrgIds(); Object other$orgIds = other.getOrgIds(); return this$orgIds == null ? other$orgIds == null : this$orgIds.equals(other$orgIds); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof NotifyDefaultObjectVO; } public int hashCode() { Object $businessKey = getBusinessKey(); int result = (1 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode()); Object $empList = getEmpList(); int result2 = (result * 59) + ($empList == null ? 43 : $empList.hashCode()); Object $orgList = getOrgList(); int result3 = (result2 * 59) + ($orgList == null ? 43 : $orgList.hashCode()); Object $empIds = getEmpIds(); int result4 = (result3 * 59) + ($empIds == null ? 43 : $empIds.hashCode()); Object $orgIds = getOrgIds(); return (result4 * 59) + ($orgIds == null ? 43 : $orgIds.hashCode()); } public String toString() { return "NotifyDefaultObjectVO(businessKey=" + getBusinessKey() + ", empList=" + getEmpList() + ", orgList=" + getOrgList() + ", empIds=" + getEmpIds() + ", orgIds=" + getOrgIds() + ")"; } public String getBusinessKey() { return this.businessKey; } public List getEmpList() { return this.empList; } public List getOrgList() { return this.orgList; } public List getEmpIds() { if (Func.isNotEmpty(this.empIds)) { return this.empIds; } if (Func.isNotEmpty(this.empList)) { return (List) this.empList.stream().map((v0) -> { return v0.getPersonId(); }).collect(Collectors.toList()); } return null; } public List getOrgIds() { if (Func.isNotEmpty(this.orgIds)) { return this.orgIds; } if (Func.isNotEmpty(this.orgList)) { return (List) this.orgList.stream().map((v0) -> { return v0.getPersonId(); }).collect(Collectors.toList()); } return null; } }