package com.skyline.electricity.pojo;
|
|
public class FencePosition
|
{
|
private Integer fid;
|
private String workId;
|
private String fname;
|
private String fenceposition;
|
private double startaltitude;
|
private double endaltitude;
|
private String createtime;
|
private String starttime;
|
private String disabledtime;
|
private String status;
|
private String type;
|
private String level;
|
private Integer personcount;
|
private String height;
|
private String userId;
|
private String oldUserId;
|
private String workLeader;
|
private String alarmcount;
|
|
public FencePosition() {
|
this.startaltitude = -9999.0;
|
this.endaltitude = -9999.0;
|
}
|
|
public Integer getFid() {
|
return this.fid;
|
}
|
|
public String getWorkId() {
|
return this.workId;
|
}
|
|
public String getFname() {
|
return this.fname;
|
}
|
|
public String getFenceposition() {
|
return this.fenceposition;
|
}
|
|
public double getStartaltitude() {
|
return this.startaltitude;
|
}
|
|
public double getEndaltitude() {
|
return this.endaltitude;
|
}
|
|
public String getCreatetime() {
|
return this.createtime;
|
}
|
|
public String getStarttime() {
|
return this.starttime;
|
}
|
|
public String getDisabledtime() {
|
return this.disabledtime;
|
}
|
|
public String getStatus() {
|
return this.status;
|
}
|
|
public String getType() {
|
return this.type;
|
}
|
|
public String getLevel() {
|
return this.level;
|
}
|
|
public Integer getPersoncount() {
|
return this.personcount;
|
}
|
|
public String getHeight() {
|
return this.height;
|
}
|
|
public String getUserId() {
|
return this.userId;
|
}
|
|
public String getOldUserId() {
|
return this.oldUserId;
|
}
|
|
public String getWorkLeader() {
|
return this.workLeader;
|
}
|
|
public String getAlarmcount() {
|
return this.alarmcount;
|
}
|
|
public void setFid(final Integer fid) {
|
this.fid = fid;
|
}
|
|
public void setWorkId(final String workId) {
|
this.workId = workId;
|
}
|
|
public void setFname(final String fname) {
|
this.fname = fname;
|
}
|
|
public void setFenceposition(final String fenceposition) {
|
this.fenceposition = fenceposition;
|
}
|
|
public void setStartaltitude(final double startaltitude) {
|
this.startaltitude = startaltitude;
|
}
|
|
public void setEndaltitude(final double endaltitude) {
|
this.endaltitude = endaltitude;
|
}
|
|
public void setCreatetime(final String createtime) {
|
this.createtime = createtime;
|
}
|
|
public void setStarttime(final String starttime) {
|
this.starttime = starttime;
|
}
|
|
public void setDisabledtime(final String disabledtime) {
|
this.disabledtime = disabledtime;
|
}
|
|
public void setStatus(final String status) {
|
this.status = status;
|
}
|
|
public void setType(final String type) {
|
this.type = type;
|
}
|
|
public void setLevel(final String level) {
|
this.level = level;
|
}
|
|
public void setPersoncount(final Integer personcount) {
|
this.personcount = personcount;
|
}
|
|
public void setHeight(final String height) {
|
this.height = height;
|
}
|
|
public void setUserId(final String userId) {
|
this.userId = userId;
|
}
|
|
public void setOldUserId(final String oldUserId) {
|
this.oldUserId = oldUserId;
|
}
|
|
public void setWorkLeader(final String workLeader) {
|
this.workLeader = workLeader;
|
}
|
|
public void setAlarmcount(final String alarmcount) {
|
this.alarmcount = alarmcount;
|
}
|
|
@Override
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (!(o instanceof FencePosition)) {
|
return false;
|
}
|
final FencePosition other = (FencePosition)o;
|
if (!other.canEqual(this)) {
|
return false;
|
}
|
final Object this$fid = this.getFid();
|
final Object other$fid = other.getFid();
|
Label_0065: {
|
if (this$fid == null) {
|
if (other$fid == null) {
|
break Label_0065;
|
}
|
}
|
else if (this$fid.equals(other$fid)) {
|
break Label_0065;
|
}
|
return false;
|
}
|
final Object this$workId = this.getWorkId();
|
final Object other$workId = other.getWorkId();
|
Label_0102: {
|
if (this$workId == null) {
|
if (other$workId == null) {
|
break Label_0102;
|
}
|
}
|
else if (this$workId.equals(other$workId)) {
|
break Label_0102;
|
}
|
return false;
|
}
|
final Object this$fname = this.getFname();
|
final Object other$fname = other.getFname();
|
Label_0139: {
|
if (this$fname == null) {
|
if (other$fname == null) {
|
break Label_0139;
|
}
|
}
|
else if (this$fname.equals(other$fname)) {
|
break Label_0139;
|
}
|
return false;
|
}
|
final Object this$fenceposition = this.getFenceposition();
|
final Object other$fenceposition = other.getFenceposition();
|
Label_0176: {
|
if (this$fenceposition == null) {
|
if (other$fenceposition == null) {
|
break Label_0176;
|
}
|
}
|
else if (this$fenceposition.equals(other$fenceposition)) {
|
break Label_0176;
|
}
|
return false;
|
}
|
if (Double.compare(this.getStartaltitude(), other.getStartaltitude()) != 0) {
|
return false;
|
}
|
if (Double.compare(this.getEndaltitude(), other.getEndaltitude()) != 0) {
|
return false;
|
}
|
final Object this$createtime = this.getCreatetime();
|
final Object other$createtime = other.getCreatetime();
|
Label_0245: {
|
if (this$createtime == null) {
|
if (other$createtime == null) {
|
break Label_0245;
|
}
|
}
|
else if (this$createtime.equals(other$createtime)) {
|
break Label_0245;
|
}
|
return false;
|
}
|
final Object this$starttime = this.getStarttime();
|
final Object other$starttime = other.getStarttime();
|
Label_0282: {
|
if (this$starttime == null) {
|
if (other$starttime == null) {
|
break Label_0282;
|
}
|
}
|
else if (this$starttime.equals(other$starttime)) {
|
break Label_0282;
|
}
|
return false;
|
}
|
final Object this$disabledtime = this.getDisabledtime();
|
final Object other$disabledtime = other.getDisabledtime();
|
Label_0319: {
|
if (this$disabledtime == null) {
|
if (other$disabledtime == null) {
|
break Label_0319;
|
}
|
}
|
else if (this$disabledtime.equals(other$disabledtime)) {
|
break Label_0319;
|
}
|
return false;
|
}
|
final Object this$status = this.getStatus();
|
final Object other$status = other.getStatus();
|
Label_0356: {
|
if (this$status == null) {
|
if (other$status == null) {
|
break Label_0356;
|
}
|
}
|
else if (this$status.equals(other$status)) {
|
break Label_0356;
|
}
|
return false;
|
}
|
final Object this$type = this.getType();
|
final Object other$type = other.getType();
|
Label_0393: {
|
if (this$type == null) {
|
if (other$type == null) {
|
break Label_0393;
|
}
|
}
|
else if (this$type.equals(other$type)) {
|
break Label_0393;
|
}
|
return false;
|
}
|
final Object this$level = this.getLevel();
|
final Object other$level = other.getLevel();
|
Label_0430: {
|
if (this$level == null) {
|
if (other$level == null) {
|
break Label_0430;
|
}
|
}
|
else if (this$level.equals(other$level)) {
|
break Label_0430;
|
}
|
return false;
|
}
|
final Object this$personcount = this.getPersoncount();
|
final Object other$personcount = other.getPersoncount();
|
Label_0467: {
|
if (this$personcount == null) {
|
if (other$personcount == null) {
|
break Label_0467;
|
}
|
}
|
else if (this$personcount.equals(other$personcount)) {
|
break Label_0467;
|
}
|
return false;
|
}
|
final Object this$height = this.getHeight();
|
final Object other$height = other.getHeight();
|
Label_0504: {
|
if (this$height == null) {
|
if (other$height == null) {
|
break Label_0504;
|
}
|
}
|
else if (this$height.equals(other$height)) {
|
break Label_0504;
|
}
|
return false;
|
}
|
final Object this$userId = this.getUserId();
|
final Object other$userId = other.getUserId();
|
Label_0541: {
|
if (this$userId == null) {
|
if (other$userId == null) {
|
break Label_0541;
|
}
|
}
|
else if (this$userId.equals(other$userId)) {
|
break Label_0541;
|
}
|
return false;
|
}
|
final Object this$oldUserId = this.getOldUserId();
|
final Object other$oldUserId = other.getOldUserId();
|
Label_0578: {
|
if (this$oldUserId == null) {
|
if (other$oldUserId == null) {
|
break Label_0578;
|
}
|
}
|
else if (this$oldUserId.equals(other$oldUserId)) {
|
break Label_0578;
|
}
|
return false;
|
}
|
final Object this$workLeader = this.getWorkLeader();
|
final Object other$workLeader = other.getWorkLeader();
|
Label_0615: {
|
if (this$workLeader == null) {
|
if (other$workLeader == null) {
|
break Label_0615;
|
}
|
}
|
else if (this$workLeader.equals(other$workLeader)) {
|
break Label_0615;
|
}
|
return false;
|
}
|
final Object this$alarmcount = this.getAlarmcount();
|
final Object other$alarmcount = other.getAlarmcount();
|
if (this$alarmcount == null) {
|
if (other$alarmcount == null) {
|
return true;
|
}
|
}
|
else if (this$alarmcount.equals(other$alarmcount)) {
|
return true;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FencePosition;
|
}
|
|
@Override
|
public int hashCode() {
|
final int PRIME = 59;
|
int result = 1;
|
final Object $fid = this.getFid();
|
result = result * 59 + (($fid == null) ? 43 : $fid.hashCode());
|
final Object $workId = this.getWorkId();
|
result = result * 59 + (($workId == null) ? 43 : $workId.hashCode());
|
final Object $fname = this.getFname();
|
result = result * 59 + (($fname == null) ? 43 : $fname.hashCode());
|
final Object $fenceposition = this.getFenceposition();
|
result = result * 59 + (($fenceposition == null) ? 43 : $fenceposition.hashCode());
|
final long $startaltitude = Double.doubleToLongBits(this.getStartaltitude());
|
result = result * 59 + (int)($startaltitude >>> 32 ^ $startaltitude);
|
final long $endaltitude = Double.doubleToLongBits(this.getEndaltitude());
|
result = result * 59 + (int)($endaltitude >>> 32 ^ $endaltitude);
|
final Object $createtime = this.getCreatetime();
|
result = result * 59 + (($createtime == null) ? 43 : $createtime.hashCode());
|
final Object $starttime = this.getStarttime();
|
result = result * 59 + (($starttime == null) ? 43 : $starttime.hashCode());
|
final Object $disabledtime = this.getDisabledtime();
|
result = result * 59 + (($disabledtime == null) ? 43 : $disabledtime.hashCode());
|
final Object $status = this.getStatus();
|
result = result * 59 + (($status == null) ? 43 : $status.hashCode());
|
final Object $type = this.getType();
|
result = result * 59 + (($type == null) ? 43 : $type.hashCode());
|
final Object $level = this.getLevel();
|
result = result * 59 + (($level == null) ? 43 : $level.hashCode());
|
final Object $personcount = this.getPersoncount();
|
result = result * 59 + (($personcount == null) ? 43 : $personcount.hashCode());
|
final Object $height = this.getHeight();
|
result = result * 59 + (($height == null) ? 43 : $height.hashCode());
|
final Object $userId = this.getUserId();
|
result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
|
final Object $oldUserId = this.getOldUserId();
|
result = result * 59 + (($oldUserId == null) ? 43 : $oldUserId.hashCode());
|
final Object $workLeader = this.getWorkLeader();
|
result = result * 59 + (($workLeader == null) ? 43 : $workLeader.hashCode());
|
final Object $alarmcount = this.getAlarmcount();
|
result = result * 59 + (($alarmcount == null) ? 43 : $alarmcount.hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
return "FencePosition(fid=" + this.getFid() + ", workId=" + this.getWorkId() + ", fname=" + this.getFname() + ", fenceposition=" + this.getFenceposition() + ", startaltitude=" + this.getStartaltitude() + ", endaltitude=" + this.getEndaltitude() + ", createtime=" + this.getCreatetime() + ", starttime=" + this.getStarttime() + ", disabledtime=" + this.getDisabledtime() + ", status=" + this.getStatus() + ", type=" + this.getType() + ", level=" + this.getLevel() + ", personcount=" + this.getPersoncount() + ", height=" + this.getHeight() + ", userId=" + this.getUserId() + ", oldUserId=" + this.getOldUserId() + ", workLeader=" + this.getWorkLeader() + ", alarmcount=" + this.getAlarmcount() + ")";
|
}
|
}
|