package com.qianwen.smartman.modules.mdc.dto; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class ParamDTO implements Serializable { private static final long serialVersionUID = -4353208301080753423L; @ApiModelProperty("时间点") private String time; @ApiModelProperty("对应的值") private String value; public static class ParamDTOBuilder { private String time; private String value; ParamDTOBuilder() { } public ParamDTOBuilder time(final String time) { this.time = time; return this; } public ParamDTOBuilder value(final String value) { this.value = value; return this; } public ParamDTO build() { return new ParamDTO(this.time, this.value); } public String toString() { return "ParamDTO.ParamDTOBuilder(time=" + this.time + ", value=" + this.value + ")"; } } public void setTime(final String time) { this.time = time; } public void setValue(final String value) { this.value = value; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof ParamDTO) { ParamDTO other = (ParamDTO) o; if (other.canEqual(this)) { Object this$time = getTime(); Object other$time = other.getTime(); if (this$time == null) { if (other$time != null) { return false; } } else if (!this$time.equals(other$time)) { return false; } Object this$value = getValue(); Object other$value = other.getValue(); return this$value == null ? other$value == null : this$value.equals(other$value); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof ParamDTO; } public int hashCode() { Object $time = getTime(); int result = (1 * 59) + ($time == null ? 43 : $time.hashCode()); Object $value = getValue(); return (result * 59) + ($value == null ? 43 : $value.hashCode()); } public String toString() { return "ParamDTO(time=" + getTime() + ", value=" + getValue() + ")"; } public static ParamDTOBuilder builder() { return new ParamDTOBuilder(); } public ParamDTO() { } public ParamDTO(final String time, final String value) { this.time = time; this.value = value; } public String getTime() { return this.time; } public String getValue() { return this.value; } }