package com.skyline.electricity.pojo; public class AllowPerson { private String workId; private String userId; public String getWorkId() { return this.workId; } public String getUserId() { return this.userId; } public void setWorkId(final String workId) { this.workId = workId; } public void setUserId(final String userId) { this.userId = userId; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof AllowPerson)) { return false; } final AllowPerson other = (AllowPerson)o; if (!other.canEqual(this)) { return false; } final Object this$workId = this.getWorkId(); final Object other$workId = other.getWorkId(); Label_0065: { if (this$workId == null) { if (other$workId == null) { break Label_0065; } } else if (this$workId.equals(other$workId)) { break Label_0065; } return false; } final Object this$userId = this.getUserId(); final Object other$userId = other.getUserId(); if (this$userId == null) { if (other$userId == null) { return true; } } else if (this$userId.equals(other$userId)) { return true; } return false; } protected boolean canEqual(final Object other) { return other instanceof AllowPerson; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $workId = this.getWorkId(); result = result * 59 + (($workId == null) ? 43 : $workId.hashCode()); final Object $userId = this.getUserId(); result = result * 59 + (($userId == null) ? 43 : $userId.hashCode()); return result; } @Override public String toString() { return "AllowPerson(workId=" + this.getWorkId() + ", userId=" + this.getUserId() + ")"; } }