package com.skyline.electricity.pojo;
|
|
import java.util.*;
|
|
public class WhiteList
|
{
|
private Integer code;
|
private String msg;
|
private Integer count;
|
private List<FenceUserDto> data;
|
|
public Integer getCode() {
|
return this.code;
|
}
|
|
public String getMsg() {
|
return this.msg;
|
}
|
|
public Integer getCount() {
|
return this.count;
|
}
|
|
public List<FenceUserDto> getData() {
|
return this.data;
|
}
|
|
public void setCode(final Integer code) {
|
this.code = code;
|
}
|
|
public void setMsg(final String msg) {
|
this.msg = msg;
|
}
|
|
public void setCount(final Integer count) {
|
this.count = count;
|
}
|
|
public void setData(final List<FenceUserDto> data) {
|
this.data = data;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof WhiteList)) {
|
return false;
|
}
|
final WhiteList other = (WhiteList)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$code = this.getCode();
|
final Object other$code = other.getCode();
|
Label_0065: {
|
if (this$code == null) {
|
if (other$code == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$code.equals(other$code)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$msg = this.getMsg();
|
final Object other$msg = other.getMsg();
|
Label_0102: {
|
if (this$msg == null) {
|
if (other$msg == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$msg.equals(other$msg)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$count = this.getCount();
|
final Object other$count = other.getCount();
|
Label_0139: {
|
if (this$count == null) {
|
if (other$count == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$count.equals(other$count)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$data = this.getData();
|
final Object other$data = other.getData();
|
if (this$data == null) {
|
if (other$data == null) {
|
return true;
|
}
|
}
|
else if (this$data.equals(other$data)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WhiteList;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $code = this.getCode();
|
result = result * 59 + (($code == null) ? 43 : $code.hashCode());
|
final Object $msg = this.getMsg();
|
result = result * 59 + (($msg == null) ? 43 : $msg.hashCode());
|
final Object $count = this.getCount();
|
result = result * 59 + (($count == null) ? 43 : $count.hashCode());
|
final Object $data = this.getData();
|
result = result * 59 + (($data == null) ? 43 : $data.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "WhiteList(code=" + this.getCode() + ", msg=" + this.getMsg() + ", count=" + this.getCount() + ", data=" + this.getData() + ")";
|
}
|
}
|