package com.skyline.electricity.entity;
|
|
public class UserPos
|
{
|
private String id;
|
private String mainPos;
|
private String posId;
|
private String posName;
|
private String userId;
|
private String userName;
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getMainPos() {
|
return this.mainPos;
|
}
|
|
public String getPosId() {
|
return this.posId;
|
}
|
|
public String getPosName() {
|
return this.posName;
|
}
|
|
public String getUserId() {
|
return this.userId;
|
}
|
|
public String getUserName() {
|
return this.userName;
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setMainPos(final String mainPos) {
|
this.mainPos = mainPos;
|
}
|
|
public void setPosId(final String posId) {
|
this.posId = posId;
|
}
|
|
public void setPosName(final String posName) {
|
this.posName = posName;
|
}
|
|
public void setUserId(final String userId) {
|
this.userId = userId;
|
}
|
|
public void setUserName(final String userName) {
|
this.userName = userName;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof UserPos)) {
|
return false;
|
}
|
final UserPos other = (UserPos)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$id = this.getId();
|
final Object other$id = other.getId();
|
Label_0065: {
|
if (this$id == null) {
|
if (other$id == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$id.equals(other$id)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$mainPos = this.getMainPos();
|
final Object other$mainPos = other.getMainPos();
|
Label_0102: {
|
if (this$mainPos == null) {
|
if (other$mainPos == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$mainPos.equals(other$mainPos)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$posId = this.getPosId();
|
final Object other$posId = other.getPosId();
|
Label_0139: {
|
if (this$posId == null) {
|
if (other$posId == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$posId.equals(other$posId)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$posName = this.getPosName();
|
final Object other$posName = other.getPosName();
|
Label_0176: {
|
if (this$posName == null) {
|
if (other$posName == null) {
|
break Label_0176;
|
}
|
}
|
else if (this$posName.equals(other$posName)) {
|
break Label_0176;
|
}
|
return false;
|
}
|
final Object this$userId = this.getUserId();
|
final Object other$userId = other.getUserId();
|
Label_0213: {
|
if (this$userId == null) {
|
if (other$userId == null) {
|
break Label_0213;
|
}
|
}
|
else if (this$userId.equals(other$userId)) {
|
break Label_0213;
|
}
|
return false;
|
}
|
final Object this$userName = this.getUserName();
|
final Object other$userName = other.getUserName();
|
if (this$userName == null) {
|
if (other$userName == null) {
|
return true;
|
}
|
}
|
else if (this$userName.equals(other$userName)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UserPos;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $id = this.getId();
|
result = result * 59 + (($id == null) ? 43 : $id.hashCode());
|
final Object $mainPos = this.getMainPos();
|
result = result * 59 + (($mainPos == null) ? 43 : $mainPos.hashCode());
|
final Object $posId = this.getPosId();
|
result = result * 59 + (($posId == null) ? 43 : $posId.hashCode());
|
final Object $posName = this.getPosName();
|
result = result * 59 + (($posName == null) ? 43 : $posName.hashCode());
|
final Object $userId = this.getUserId();
|
result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
|
final Object $userName = this.getUserName();
|
result = result * 59 + (($userName == null) ? 43 : $userName.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "UserPos(id=" + this.getId() + ", mainPos=" + this.getMainPos() + ", posId=" + this.getPosId() + ", posName=" + this.getPosName() + ", userId=" + this.getUserId() + ", userName=" + this.getUserName() + ")";
|
}
|
}
|