package com.qianwen.smartman.modules.mdc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/StatusDTO.class */
|
public class StatusDTO implements Serializable {
|
private static final long serialVersionUID = -4353208301080753423L;
|
@ApiModelProperty("时间点")
|
private String time;
|
@ApiModelProperty("状态名称")
|
private String name;
|
@ApiModelProperty("状态颜色")
|
private String color;
|
private String value;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/StatusDTO$StatusDTOBuilder.class */
|
public static class StatusDTOBuilder {
|
private String time;
|
private String name;
|
private String color;
|
private String value;
|
|
StatusDTOBuilder() {
|
}
|
|
public StatusDTOBuilder time(final String time) {
|
this.time = time;
|
return this;
|
}
|
|
public StatusDTOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public StatusDTOBuilder color(final String color) {
|
this.color = color;
|
return this;
|
}
|
|
public StatusDTOBuilder value(final String value) {
|
this.value = value;
|
return this;
|
}
|
|
public StatusDTO build() {
|
return new StatusDTO(this.time, this.name, this.color, this.value);
|
}
|
|
public String toString() {
|
return "StatusDTO.StatusDTOBuilder(time=" + this.time + ", name=" + this.name + ", color=" + this.color + ", value=" + this.value + ")";
|
}
|
}
|
|
public void setTime(final String time) {
|
this.time = time;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setColor(final String color) {
|
this.color = color;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof StatusDTO) {
|
StatusDTO other = (StatusDTO) 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$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$color = getColor();
|
Object other$color = other.getColor();
|
if (this$color == null) {
|
if (other$color != null) {
|
return false;
|
}
|
} else if (!this$color.equals(other$color)) {
|
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 StatusDTO;
|
}
|
|
public int hashCode() {
|
Object $time = getTime();
|
int result = (1 * 59) + ($time == null ? 43 : $time.hashCode());
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $color = getColor();
|
int result3 = (result2 * 59) + ($color == null ? 43 : $color.hashCode());
|
Object $value = getValue();
|
return (result3 * 59) + ($value == null ? 43 : $value.hashCode());
|
}
|
|
public String toString() {
|
return "StatusDTO(time=" + getTime() + ", name=" + getName() + ", color=" + getColor() + ", value=" + getValue() + ")";
|
}
|
|
public static StatusDTOBuilder builder() {
|
return new StatusDTOBuilder();
|
}
|
|
public StatusDTO() {
|
}
|
|
public StatusDTO(final String time, final String name, final String color, final String value) {
|
this.time = time;
|
this.name = name;
|
this.color = color;
|
this.value = value;
|
}
|
|
public String getTime() {
|
return this.time;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getColor() {
|
return this.color;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
}
|