package com.skyline.electricity.pojo;
|
|
import java.util.*;
|
|
public class DeviceKKSDto
|
{
|
private String device_name;
|
private String account;
|
private String device_id;
|
private List<KKSInfo> msg;
|
|
public String getDevice_name() {
|
return this.device_name;
|
}
|
|
public String getAccount() {
|
return this.account;
|
}
|
|
public String getDevice_id() {
|
return this.device_id;
|
}
|
|
public List<KKSInfo> getMsg() {
|
return this.msg;
|
}
|
|
public void setDevice_name(final String device_name) {
|
this.device_name = device_name;
|
}
|
|
public void setAccount(final String account) {
|
this.account = account;
|
}
|
|
public void setDevice_id(final String device_id) {
|
this.device_id = device_id;
|
}
|
|
public void setMsg(final List<KKSInfo> msg) {
|
this.msg = msg;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof DeviceKKSDto)) {
|
return false;
|
}
|
final DeviceKKSDto other = (DeviceKKSDto)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$device_name = this.getDevice_name();
|
final Object other$device_name = other.getDevice_name();
|
Label_0065: {
|
if (this$device_name == null) {
|
if (other$device_name == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$device_name.equals(other$device_name)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$account = this.getAccount();
|
final Object other$account = other.getAccount();
|
Label_0102: {
|
if (this$account == null) {
|
if (other$account == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$account.equals(other$account)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$device_id = this.getDevice_id();
|
final Object other$device_id = other.getDevice_id();
|
Label_0139: {
|
if (this$device_id == null) {
|
if (other$device_id == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$device_id.equals(other$device_id)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$msg = this.getMsg();
|
final Object other$msg = other.getMsg();
|
if (this$msg == null) {
|
if (other$msg == null) {
|
return true;
|
}
|
}
|
else if (this$msg.equals(other$msg)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DeviceKKSDto;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $device_name = this.getDevice_name();
|
result = result * 59 + (($device_name == null) ? 43 : $device_name.hashCode());
|
final Object $account = this.getAccount();
|
result = result * 59 + (($account == null) ? 43 : $account.hashCode());
|
final Object $device_id = this.getDevice_id();
|
result = result * 59 + (($device_id == null) ? 43 : $device_id.hashCode());
|
final Object $msg = this.getMsg();
|
result = result * 59 + (($msg == null) ? 43 : $msg.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "DeviceKKSDto(device_name=" + this.getDevice_name() + ", account=" + this.getAccount() + ", device_id=" + this.getDevice_id() + ", msg=" + this.getMsg() + ")";
|
}
|
}
|