package com.skyline.electricity.pojo;
|
|
public class Result
|
{
|
private String status;
|
private String message;
|
private Object data;
|
private Integer code;
|
private Integer count;
|
|
public String getStatus() {
|
return this.status;
|
}
|
|
public String getMessage() {
|
return this.message;
|
}
|
|
public Object getData() {
|
return this.data;
|
}
|
|
public Integer getCode() {
|
return this.code;
|
}
|
|
public Integer getCount() {
|
return this.count;
|
}
|
|
public void setStatus(final String status) {
|
this.status = status;
|
}
|
|
public void setMessage(final String message) {
|
this.message = message;
|
}
|
|
public void setData(final Object data) {
|
this.data = data;
|
}
|
|
public void setCode(final Integer code) {
|
this.code = code;
|
}
|
|
public void setCount(final Integer count) {
|
this.count = count;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof Result)) {
|
return false;
|
}
|
final Result other = (Result)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$status = this.getStatus();
|
final Object other$status = other.getStatus();
|
Label_0065: {
|
if (this$status == null) {
|
if (other$status == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$status.equals(other$status)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$message = this.getMessage();
|
final Object other$message = other.getMessage();
|
Label_0102: {
|
if (this$message == null) {
|
if (other$message == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$message.equals(other$message)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$data = this.getData();
|
final Object other$data = other.getData();
|
Label_0139: {
|
if (this$data == null) {
|
if (other$data == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$data.equals(other$data)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$code = this.getCode();
|
final Object other$code = other.getCode();
|
Label_0176: {
|
if (this$code == null) {
|
if (other$code == null) {
|
break Label_0176;
|
}
|
}
|
else if (this$code.equals(other$code)) {
|
break Label_0176;
|
}
|
return false;
|
}
|
final Object this$count = this.getCount();
|
final Object other$count = other.getCount();
|
if (this$count == null) {
|
if (other$count == null) {
|
return true;
|
}
|
}
|
else if (this$count.equals(other$count)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Result;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $status = this.getStatus();
|
result = result * 59 + (($status == null) ? 43 : $status.hashCode());
|
final Object $message = this.getMessage();
|
result = result * 59 + (($message == null) ? 43 : $message.hashCode());
|
final Object $data = this.getData();
|
result = result * 59 + (($data == null) ? 43 : $data.hashCode());
|
final Object $code = this.getCode();
|
result = result * 59 + (($code == null) ? 43 : $code.hashCode());
|
final Object $count = this.getCount();
|
result = result * 59 + (($count == null) ? 43 : $count.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "Result(status=" + this.getStatus() + ", message=" + this.getMessage() + ", data=" + this.getData() + ", code=" + this.getCode() + ", count=" + this.getCount() + ")";
|
}
|
}
|