package com.qianwen.smartman.modules.mdc.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
@TableName("iot_data.super_collect_data")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/entity/WorkstationCollectData.class */
|
public class WorkstationCollectData {
|
private Long ts;
|
private String n;
|
private String v;
|
private Long workstationId;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/entity/WorkstationCollectData$WorkstationCollectDataBuilder.class */
|
public static class WorkstationCollectDataBuilder {
|
private Long ts;
|
private String n;
|
private String v;
|
private Long workstationId;
|
|
WorkstationCollectDataBuilder() {
|
}
|
|
public WorkstationCollectDataBuilder ts(final Long ts) {
|
this.ts = ts;
|
return this;
|
}
|
|
public WorkstationCollectDataBuilder n(final String n) {
|
this.n = n;
|
return this;
|
}
|
|
public WorkstationCollectDataBuilder v(final String v) {
|
this.v = v;
|
return this;
|
}
|
|
public WorkstationCollectDataBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstationCollectData build() {
|
return new WorkstationCollectData(this.ts, this.n, this.v, this.workstationId);
|
}
|
|
public String toString() {
|
return "WorkstationCollectData.WorkstationCollectDataBuilder(ts=" + this.ts + ", n=" + this.n + ", v=" + this.v + ", workstationId=" + this.workstationId + ")";
|
}
|
}
|
|
public void setTs(final Long ts) {
|
this.ts = ts;
|
}
|
|
public void setN(final String n) {
|
this.n = n;
|
}
|
|
public void setV(final String v) {
|
this.v = v;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationCollectData) {
|
WorkstationCollectData other = (WorkstationCollectData) o;
|
if (other.canEqual(this)) {
|
Object this$ts = getTs();
|
Object other$ts = other.getTs();
|
if (this$ts == null) {
|
if (other$ts != null) {
|
return false;
|
}
|
} else if (!this$ts.equals(other$ts)) {
|
return false;
|
}
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$n = getN();
|
Object other$n = other.getN();
|
if (this$n == null) {
|
if (other$n != null) {
|
return false;
|
}
|
} else if (!this$n.equals(other$n)) {
|
return false;
|
}
|
Object this$v = getV();
|
Object other$v = other.getV();
|
return this$v == null ? other$v == null : this$v.equals(other$v);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationCollectData;
|
}
|
|
public int hashCode() {
|
Object $ts = getTs();
|
int result = (1 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $n = getN();
|
int result3 = (result2 * 59) + ($n == null ? 43 : $n.hashCode());
|
Object $v = getV();
|
return (result3 * 59) + ($v == null ? 43 : $v.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationCollectData(ts=" + getTs() + ", n=" + getN() + ", v=" + getV() + ", workstationId=" + getWorkstationId() + ")";
|
}
|
|
WorkstationCollectData(final Long ts, final String n, final String v, final Long workstationId) {
|
this.ts = ts;
|
this.n = n;
|
this.v = v;
|
this.workstationId = workstationId;
|
}
|
|
public static WorkstationCollectDataBuilder builder() {
|
return new WorkstationCollectDataBuilder();
|
}
|
|
public Long getTs() {
|
return this.ts;
|
}
|
|
public String getN() {
|
return this.n;
|
}
|
|
public String getV() {
|
return this.v;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
}
|