package com.skyline.electricity.entity; public class PgSpec { private Integer id; private String code; private String name; private String descr; private String groupId; private String remarks; private String siteId; private String isActive; public Integer getId() { return this.id; } public String getCode() { return this.code; } public String getName() { return this.name; } public String getDescr() { return this.descr; } public String getGroupId() { return this.groupId; } public String getRemarks() { return this.remarks; } public String getSiteId() { return this.siteId; } public String getIsActive() { return this.isActive; } public void setId(final Integer id) { this.id = id; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setDescr(final String descr) { this.descr = descr; } public void setGroupId(final String groupId) { this.groupId = groupId; } public void setRemarks(final String remarks) { this.remarks = remarks; } public void setSiteId(final String siteId) { this.siteId = siteId; } public void setIsActive(final String isActive) { this.isActive = isActive; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof PgSpec)) { return false; } final PgSpec other = (PgSpec)o; if (!other.canEqual(this)) { return false; } final Object this$id = this.getId(); final Object other$id = other.getId(); Label_0065: { if (this$id == null) { if (other$id == null) { break Label_0065; } } else if (this$id.equals(other$id)) { break Label_0065; } return false; } final Object this$code = this.getCode(); final Object other$code = other.getCode(); Label_0102: { if (this$code == null) { if (other$code == null) { break Label_0102; } } else if (this$code.equals(other$code)) { break Label_0102; } return false; } final Object this$name = this.getName(); final Object other$name = other.getName(); Label_0139: { if (this$name == null) { if (other$name == null) { break Label_0139; } } else if (this$name.equals(other$name)) { break Label_0139; } return false; } final Object this$descr = this.getDescr(); final Object other$descr = other.getDescr(); Label_0176: { if (this$descr == null) { if (other$descr == null) { break Label_0176; } } else if (this$descr.equals(other$descr)) { break Label_0176; } return false; } final Object this$groupId = this.getGroupId(); final Object other$groupId = other.getGroupId(); Label_0213: { if (this$groupId == null) { if (other$groupId == null) { break Label_0213; } } else if (this$groupId.equals(other$groupId)) { break Label_0213; } return false; } final Object this$remarks = this.getRemarks(); final Object other$remarks = other.getRemarks(); Label_0250: { if (this$remarks == null) { if (other$remarks == null) { break Label_0250; } } else if (this$remarks.equals(other$remarks)) { break Label_0250; } return false; } final Object this$siteId = this.getSiteId(); final Object other$siteId = other.getSiteId(); Label_0287: { if (this$siteId == null) { if (other$siteId == null) { break Label_0287; } } else if (this$siteId.equals(other$siteId)) { break Label_0287; } return false; } final Object this$isActive = this.getIsActive(); final Object other$isActive = other.getIsActive(); if (this$isActive == null) { if (other$isActive == null) { return true; } } else if (this$isActive.equals(other$isActive)) { return true; } return false; } protected boolean canEqual(final Object other) { return other instanceof PgSpec; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $id = this.getId(); result = result * 59 + (($id == null) ? 43 : $id.hashCode()); final Object $code = this.getCode(); result = result * 59 + (($code == null) ? 43 : $code.hashCode()); final Object $name = this.getName(); result = result * 59 + (($name == null) ? 43 : $name.hashCode()); final Object $descr = this.getDescr(); result = result * 59 + (($descr == null) ? 43 : $descr.hashCode()); final Object $groupId = this.getGroupId(); result = result * 59 + (($groupId == null) ? 43 : $groupId.hashCode()); final Object $remarks = this.getRemarks(); result = result * 59 + (($remarks == null) ? 43 : $remarks.hashCode()); final Object $siteId = this.getSiteId(); result = result * 59 + (($siteId == null) ? 43 : $siteId.hashCode()); final Object $isActive = this.getIsActive(); result = result * 59 + (($isActive == null) ? 43 : $isActive.hashCode()); return result; } @Override public String toString() { return "PgSpec(id=" + this.getId() + ", code=" + this.getCode() + ", name=" + this.getName() + ", descr=" + this.getDescr() + ", groupId=" + this.getGroupId() + ", remarks=" + this.getRemarks() + ", siteId=" + this.getSiteId() + ", isActive=" + this.getIsActive() + ")"; } }