package com.qianwen.smartman.modules.dmpLog.entity;
|
|
public class SignalLog {
|
public String TraceId;
|
public Integer Type;
|
public String MachineCode;
|
public String MachineName;
|
public String AffectedVariable;
|
public String VariableValue;
|
public Integer Status;
|
public Long TimeStamp;
|
public Integer collectMonth;
|
|
public void setTraceId(final String TraceId) {
|
this.TraceId = TraceId;
|
}
|
|
public void setType(final Integer Type) {
|
this.Type = Type;
|
}
|
|
public void setMachineCode(final String MachineCode) {
|
this.MachineCode = MachineCode;
|
}
|
|
public void setMachineName(final String MachineName) {
|
this.MachineName = MachineName;
|
}
|
|
public void setAffectedVariable(final String AffectedVariable) {
|
this.AffectedVariable = AffectedVariable;
|
}
|
|
public void setVariableValue(final String VariableValue) {
|
this.VariableValue = VariableValue;
|
}
|
|
public void setStatus(final Integer Status) {
|
this.Status = Status;
|
}
|
|
public void setTimeStamp(final Long TimeStamp) {
|
this.TimeStamp = TimeStamp;
|
}
|
|
public void setCollectMonth(final Integer collectMonth) {
|
this.collectMonth = collectMonth;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SignalLog) {
|
SignalLog other = (SignalLog) o;
|
if (other.canEqual(this)) {
|
Object this$Type = getType();
|
Object other$Type = other.getType();
|
if (this$Type == null) {
|
if (other$Type != null) {
|
return false;
|
}
|
} else if (!this$Type.equals(other$Type)) {
|
return false;
|
}
|
Object this$Status = getStatus();
|
Object other$Status = other.getStatus();
|
if (this$Status == null) {
|
if (other$Status != null) {
|
return false;
|
}
|
} else if (!this$Status.equals(other$Status)) {
|
return false;
|
}
|
Object this$TimeStamp = getTimeStamp();
|
Object other$TimeStamp = other.getTimeStamp();
|
if (this$TimeStamp == null) {
|
if (other$TimeStamp != null) {
|
return false;
|
}
|
} else if (!this$TimeStamp.equals(other$TimeStamp)) {
|
return false;
|
}
|
Object this$collectMonth = getCollectMonth();
|
Object other$collectMonth = other.getCollectMonth();
|
if (this$collectMonth == null) {
|
if (other$collectMonth != null) {
|
return false;
|
}
|
} else if (!this$collectMonth.equals(other$collectMonth)) {
|
return false;
|
}
|
Object this$TraceId = getTraceId();
|
Object other$TraceId = other.getTraceId();
|
if (this$TraceId == null) {
|
if (other$TraceId != null) {
|
return false;
|
}
|
} else if (!this$TraceId.equals(other$TraceId)) {
|
return false;
|
}
|
Object this$MachineCode = getMachineCode();
|
Object other$MachineCode = other.getMachineCode();
|
if (this$MachineCode == null) {
|
if (other$MachineCode != null) {
|
return false;
|
}
|
} else if (!this$MachineCode.equals(other$MachineCode)) {
|
return false;
|
}
|
Object this$MachineName = getMachineName();
|
Object other$MachineName = other.getMachineName();
|
if (this$MachineName == null) {
|
if (other$MachineName != null) {
|
return false;
|
}
|
} else if (!this$MachineName.equals(other$MachineName)) {
|
return false;
|
}
|
Object this$AffectedVariable = getAffectedVariable();
|
Object other$AffectedVariable = other.getAffectedVariable();
|
if (this$AffectedVariable == null) {
|
if (other$AffectedVariable != null) {
|
return false;
|
}
|
} else if (!this$AffectedVariable.equals(other$AffectedVariable)) {
|
return false;
|
}
|
Object this$VariableValue = getVariableValue();
|
Object other$VariableValue = other.getVariableValue();
|
return this$VariableValue == null ? other$VariableValue == null : this$VariableValue.equals(other$VariableValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SignalLog;
|
}
|
|
public int hashCode() {
|
Object $Type = getType();
|
int result = (1 * 59) + ($Type == null ? 43 : $Type.hashCode());
|
Object $Status = getStatus();
|
int result2 = (result * 59) + ($Status == null ? 43 : $Status.hashCode());
|
Object $TimeStamp = getTimeStamp();
|
int result3 = (result2 * 59) + ($TimeStamp == null ? 43 : $TimeStamp.hashCode());
|
Object $collectMonth = getCollectMonth();
|
int result4 = (result3 * 59) + ($collectMonth == null ? 43 : $collectMonth.hashCode());
|
Object $TraceId = getTraceId();
|
int result5 = (result4 * 59) + ($TraceId == null ? 43 : $TraceId.hashCode());
|
Object $MachineCode = getMachineCode();
|
int result6 = (result5 * 59) + ($MachineCode == null ? 43 : $MachineCode.hashCode());
|
Object $MachineName = getMachineName();
|
int result7 = (result6 * 59) + ($MachineName == null ? 43 : $MachineName.hashCode());
|
Object $AffectedVariable = getAffectedVariable();
|
int result8 = (result7 * 59) + ($AffectedVariable == null ? 43 : $AffectedVariable.hashCode());
|
Object $VariableValue = getVariableValue();
|
return (result8 * 59) + ($VariableValue == null ? 43 : $VariableValue.hashCode());
|
}
|
|
public String toString() {
|
return "SignalLog(TraceId=" + getTraceId() + ", Type=" + getType() + ", MachineCode=" + getMachineCode() + ", MachineName=" + getMachineName() + ", AffectedVariable=" + getAffectedVariable() + ", VariableValue=" + getVariableValue() + ", Status=" + getStatus() + ", TimeStamp=" + getTimeStamp() + ", collectMonth=" + getCollectMonth() + ")";
|
}
|
|
public SignalLog() {
|
}
|
|
public SignalLog(final String TraceId, final Integer Type, final String MachineCode, final String MachineName, final String AffectedVariable, final String VariableValue, final Integer Status, final Long TimeStamp, final Integer collectMonth) {
|
this.TraceId = TraceId;
|
this.Type = Type;
|
this.MachineCode = MachineCode;
|
this.MachineName = MachineName;
|
this.AffectedVariable = AffectedVariable;
|
this.VariableValue = VariableValue;
|
this.Status = Status;
|
this.TimeStamp = TimeStamp;
|
this.collectMonth = collectMonth;
|
}
|
|
public String getTraceId() {
|
return this.TraceId;
|
}
|
|
public Integer getType() {
|
return this.Type;
|
}
|
|
public String getMachineCode() {
|
return this.MachineCode;
|
}
|
|
public String getMachineName() {
|
return this.MachineName;
|
}
|
|
public String getAffectedVariable() {
|
return this.AffectedVariable;
|
}
|
|
public String getVariableValue() {
|
return this.VariableValue;
|
}
|
|
public Integer getStatus() {
|
return this.Status;
|
}
|
|
public Long getTimeStamp() {
|
return this.TimeStamp;
|
}
|
|
public Integer getCollectMonth() {
|
return this.collectMonth;
|
}
|
}
|