package com.qianwen.smartman.modules.smis.vo; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class EmployeeSelectVO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("组织code") private String organizationCode; @ApiModelProperty("关键词:员工编号/员工姓名") private String keywords; @ApiModelProperty("状态:1 启用 0 停用") private Integer status; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("岗位id") private Long postId; public void setOrganizationCode(final String organizationCode) { this.organizationCode = organizationCode; } public void setKeywords(final String keywords) { this.keywords = keywords; } public void setStatus(final Integer status) { this.status = status; } public void setPostId(final Long postId) { this.postId = postId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof EmployeeSelectVO) { EmployeeSelectVO other = (EmployeeSelectVO) o; if (other.canEqual(this)) { Object this$status = getStatus(); Object other$status = other.getStatus(); if (this$status == null) { if (other$status != null) { return false; } } else if (!this$status.equals(other$status)) { return false; } Object this$postId = getPostId(); Object other$postId = other.getPostId(); if (this$postId == null) { if (other$postId != null) { return false; } } else if (!this$postId.equals(other$postId)) { return false; } Object this$organizationCode = getOrganizationCode(); Object other$organizationCode = other.getOrganizationCode(); if (this$organizationCode == null) { if (other$organizationCode != null) { return false; } } else if (!this$organizationCode.equals(other$organizationCode)) { return false; } Object this$keywords = getKeywords(); Object other$keywords = other.getKeywords(); return this$keywords == null ? other$keywords == null : this$keywords.equals(other$keywords); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof EmployeeSelectVO; } public int hashCode() { Object $status = getStatus(); int result = (1 * 59) + ($status == null ? 43 : $status.hashCode()); Object $postId = getPostId(); int result2 = (result * 59) + ($postId == null ? 43 : $postId.hashCode()); Object $organizationCode = getOrganizationCode(); int result3 = (result2 * 59) + ($organizationCode == null ? 43 : $organizationCode.hashCode()); Object $keywords = getKeywords(); return (result3 * 59) + ($keywords == null ? 43 : $keywords.hashCode()); } public String toString() { return "EmployeeSelectVO(organizationCode=" + getOrganizationCode() + ", keywords=" + getKeywords() + ", status=" + getStatus() + ", postId=" + getPostId() + ")"; } public String getOrganizationCode() { return this.organizationCode; } public String getKeywords() { return this.keywords; } public Integer getStatus() { return this.status; } public Long getPostId() { return this.postId; } }