package com.skyline.electricity.pojo;
|
|
public class DeviceKKS
|
{
|
private String xpl2id;
|
private String device_name;
|
private String account;
|
private String device_id;
|
private String test_point;
|
private String code;
|
private String kkstype;
|
|
public String getXpl2id() {
|
return this.xpl2id;
|
}
|
|
public String getDevice_name() {
|
return this.device_name;
|
}
|
|
public String getAccount() {
|
return this.account;
|
}
|
|
public String getDevice_id() {
|
return this.device_id;
|
}
|
|
public String getTest_point() {
|
return this.test_point;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getKkstype() {
|
return this.kkstype;
|
}
|
|
public void setXpl2id(final String xpl2id) {
|
this.xpl2id = xpl2id;
|
}
|
|
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 setTest_point(final String test_point) {
|
this.test_point = test_point;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setKkstype(final String kkstype) {
|
this.kkstype = kkstype;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof DeviceKKS)) {
|
return false;
|
}
|
final DeviceKKS other = (DeviceKKS)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$xpl2id = this.getXpl2id();
|
final Object other$xpl2id = other.getXpl2id();
|
Label_0065: {
|
if (this$xpl2id == null) {
|
if (other$xpl2id == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$xpl2id.equals(other$xpl2id)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$device_name = this.getDevice_name();
|
final Object other$device_name = other.getDevice_name();
|
Label_0102: {
|
if (this$device_name == null) {
|
if (other$device_name == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$device_name.equals(other$device_name)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$account = this.getAccount();
|
final Object other$account = other.getAccount();
|
Label_0139: {
|
if (this$account == null) {
|
if (other$account == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$account.equals(other$account)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$device_id = this.getDevice_id();
|
final Object other$device_id = other.getDevice_id();
|
Label_0176: {
|
if (this$device_id == null) {
|
if (other$device_id == null) {
|
break Label_0176;
|
}
|
}
|
else if (this$device_id.equals(other$device_id)) {
|
break Label_0176;
|
}
|
return false;
|
}
|
final Object this$test_point = this.getTest_point();
|
final Object other$test_point = other.getTest_point();
|
Label_0213: {
|
if (this$test_point == null) {
|
if (other$test_point == null) {
|
break Label_0213;
|
}
|
}
|
else if (this$test_point.equals(other$test_point)) {
|
break Label_0213;
|
}
|
return false;
|
}
|
final Object this$code = this.getCode();
|
final Object other$code = other.getCode();
|
Label_0250: {
|
if (this$code == null) {
|
if (other$code == null) {
|
break Label_0250;
|
}
|
}
|
else if (this$code.equals(other$code)) {
|
break Label_0250;
|
}
|
return false;
|
}
|
final Object this$kkstype = this.getKkstype();
|
final Object other$kkstype = other.getKkstype();
|
if (this$kkstype == null) {
|
if (other$kkstype == null) {
|
return true;
|
}
|
}
|
else if (this$kkstype.equals(other$kkstype)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DeviceKKS;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $xpl2id = this.getXpl2id();
|
result = result * 59 + (($xpl2id == null) ? 43 : $xpl2id.hashCode());
|
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 $test_point = this.getTest_point();
|
result = result * 59 + (($test_point == null) ? 43 : $test_point.hashCode());
|
final Object $code = this.getCode();
|
result = result * 59 + (($code == null) ? 43 : $code.hashCode());
|
final Object $kkstype = this.getKkstype();
|
result = result * 59 + (($kkstype == null) ? 43 : $kkstype.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "DeviceKKS(xpl2id=" + this.getXpl2id() + ", device_name=" + this.getDevice_name() + ", account=" + this.getAccount() + ", device_id=" + this.getDevice_id() + ", test_point=" + this.getTest_point() + ", code=" + this.getCode() + ", kkstype=" + this.getKkstype() + ")";
|
}
|
}
|