package com.skyline.electricity.uwbentity;
|
|
public class UwbMessage
|
{
|
private String shopId;
|
private String userIds;
|
private int messageVibrate;
|
private String instructionType;
|
private String value;
|
|
public String getShopId() {
|
return this.shopId;
|
}
|
|
public String getUserIds() {
|
return this.userIds;
|
}
|
|
public int getMessageVibrate() {
|
return this.messageVibrate;
|
}
|
|
public String getInstructionType() {
|
return this.instructionType;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
|
public void setShopId(final String shopId) {
|
this.shopId = shopId;
|
}
|
|
public void setUserIds(final String userIds) {
|
this.userIds = userIds;
|
}
|
|
public void setMessageVibrate(final int messageVibrate) {
|
this.messageVibrate = messageVibrate;
|
}
|
|
public void setInstructionType(final String instructionType) {
|
this.instructionType = instructionType;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof UwbMessage)) {
|
return false;
|
}
|
final UwbMessage other = (UwbMessage)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$shopId = this.getShopId();
|
final Object other$shopId = other.getShopId();
|
Label_0065: {
|
if (this$shopId == null) {
|
if (other$shopId == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$shopId.equals(other$shopId)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$userIds = this.getUserIds();
|
final Object other$userIds = other.getUserIds();
|
Label_0102: {
|
if (this$userIds == null) {
|
if (other$userIds == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$userIds.equals(other$userIds)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
if (this.getMessageVibrate() != other.getMessageVibrate()) {
|
return false;
|
}
|
final Object this$instructionType = this.getInstructionType();
|
final Object other$instructionType = other.getInstructionType();
|
Label_0152: {
|
if (this$instructionType == null) {
|
if (other$instructionType == null) {
|
break Label_0152;
|
}
|
}
|
else if (this$instructionType.equals(other$instructionType)) {
|
break Label_0152;
|
}
|
return false;
|
}
|
final Object this$value = this.getValue();
|
final Object other$value = other.getValue();
|
if (this$value == null) {
|
if (other$value == null) {
|
return true;
|
}
|
}
|
else if (this$value.equals(other$value)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UwbMessage;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $shopId = this.getShopId();
|
result = result * 59 + (($shopId == null) ? 43 : $shopId.hashCode());
|
final Object $userIds = this.getUserIds();
|
result = result * 59 + (($userIds == null) ? 43 : $userIds.hashCode());
|
result = result * 59 + this.getMessageVibrate();
|
final Object $instructionType = this.getInstructionType();
|
result = result * 59 + (($instructionType == null) ? 43 : $instructionType.hashCode());
|
final Object $value = this.getValue();
|
result = result * 59 + (($value == null) ? 43 : $value.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "UwbMessage(shopId=" + this.getShopId() + ", userIds=" + this.getUserIds() + ", messageVibrate=" + this.getMessageVibrate() + ", instructionType=" + this.getInstructionType() + ", value=" + this.getValue() + ")";
|
}
|
}
|