package com.qianwen.smartman.modules.mdc.dto;
|
|
import java.io.Serializable;
|
|
public class NewParamSaveDTO implements Serializable {
|
private static final long serialVersionUID = 8381159539502968120L;
|
private Long ts;
|
private String value;
|
private String workstationId;
|
|
|
public static class NewParamSaveDTOBuilder {
|
private Long ts;
|
private String value;
|
private String workstationId;
|
|
NewParamSaveDTOBuilder() {
|
}
|
|
public NewParamSaveDTOBuilder ts(final Long ts) {
|
this.ts = ts;
|
return this;
|
}
|
|
public NewParamSaveDTOBuilder value(final String value) {
|
this.value = value;
|
return this;
|
}
|
|
public NewParamSaveDTOBuilder workstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public NewParamSaveDTO build() {
|
return new NewParamSaveDTO(this.ts, this.value, this.workstationId);
|
}
|
|
public String toString() {
|
return "NewParamSaveDTO.NewParamSaveDTOBuilder(ts=" + this.ts + ", value=" + this.value + ", workstationId=" + this.workstationId + ")";
|
}
|
}
|
|
public void setTs(final Long ts) {
|
this.ts = ts;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public void setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NewParamSaveDTO) {
|
NewParamSaveDTO other = (NewParamSaveDTO) 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$value = getValue();
|
Object other$value = other.getValue();
|
if (this$value == null) {
|
if (other$value != null) {
|
return false;
|
}
|
} else if (!this$value.equals(other$value)) {
|
return false;
|
}
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
return this$workstationId == null ? other$workstationId == null : this$workstationId.equals(other$workstationId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NewParamSaveDTO;
|
}
|
|
public int hashCode() {
|
Object $ts = getTs();
|
int result = (1 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $value = getValue();
|
int result2 = (result * 59) + ($value == null ? 43 : $value.hashCode());
|
Object $workstationId = getWorkstationId();
|
return (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
}
|
|
public String toString() {
|
return "NewParamSaveDTO(ts=" + getTs() + ", value=" + getValue() + ", workstationId=" + getWorkstationId() + ")";
|
}
|
|
public static NewParamSaveDTOBuilder builder() {
|
return new NewParamSaveDTOBuilder();
|
}
|
|
public NewParamSaveDTO() {
|
}
|
|
public NewParamSaveDTO(final Long ts, final String value, final String workstationId) {
|
this.ts = ts;
|
this.value = value;
|
this.workstationId = workstationId;
|
}
|
|
public Long getTs() {
|
return this.ts;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
}
|