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/ProcessWcsDTO.class */
|
public class ProcessWcsDTO implements Serializable {
|
private static final long serialVersionUID = 5759334655353228802L;
|
private String time;
|
private Long realTime;
|
@ApiModelProperty("状态code")
|
private String value;
|
@ApiModelProperty("状态名称")
|
private String name;
|
@ApiModelProperty("状态颜色")
|
private String color;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/ProcessWcsDTO$ProcessWcsDTOBuilder.class */
|
public static class ProcessWcsDTOBuilder {
|
private String time;
|
private Long realTime;
|
private String value;
|
private String name;
|
private String color;
|
|
ProcessWcsDTOBuilder() {
|
}
|
|
public ProcessWcsDTOBuilder time(final String time) {
|
this.time = time;
|
return this;
|
}
|
|
public ProcessWcsDTOBuilder realTime(final Long realTime) {
|
this.realTime = realTime;
|
return this;
|
}
|
|
public ProcessWcsDTOBuilder value(final String value) {
|
this.value = value;
|
return this;
|
}
|
|
public ProcessWcsDTOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public ProcessWcsDTOBuilder color(final String color) {
|
this.color = color;
|
return this;
|
}
|
|
public ProcessWcsDTO build() {
|
return new ProcessWcsDTO(this.time, this.realTime, this.value, this.name, this.color);
|
}
|
|
public String toString() {
|
return "ProcessWcsDTO.ProcessWcsDTOBuilder(time=" + this.time + ", realTime=" + this.realTime + ", value=" + this.value + ", name=" + this.name + ", color=" + this.color + ")";
|
}
|
}
|
|
public void setTime(final String time) {
|
this.time = time;
|
}
|
|
public void setRealTime(final Long realTime) {
|
this.realTime = realTime;
|
}
|
|
public void setValue(final String value) {
|
this.value = value;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setColor(final String color) {
|
this.color = color;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessWcsDTO) {
|
ProcessWcsDTO other = (ProcessWcsDTO) o;
|
if (other.canEqual(this)) {
|
Object this$realTime = getRealTime();
|
Object other$realTime = other.getRealTime();
|
if (this$realTime == null) {
|
if (other$realTime != null) {
|
return false;
|
}
|
} else if (!this$realTime.equals(other$realTime)) {
|
return false;
|
}
|
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();
|
if (this$value == null) {
|
if (other$value != null) {
|
return false;
|
}
|
} else if (!this$value.equals(other$value)) {
|
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();
|
return this$color == null ? other$color == null : this$color.equals(other$color);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessWcsDTO;
|
}
|
|
public int hashCode() {
|
Object $realTime = getRealTime();
|
int result = (1 * 59) + ($realTime == null ? 43 : $realTime.hashCode());
|
Object $time = getTime();
|
int result2 = (result * 59) + ($time == null ? 43 : $time.hashCode());
|
Object $value = getValue();
|
int result3 = (result2 * 59) + ($value == null ? 43 : $value.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $color = getColor();
|
return (result4 * 59) + ($color == null ? 43 : $color.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessWcsDTO(time=" + getTime() + ", realTime=" + getRealTime() + ", value=" + getValue() + ", name=" + getName() + ", color=" + getColor() + ")";
|
}
|
|
public static ProcessWcsDTOBuilder builder() {
|
return new ProcessWcsDTOBuilder();
|
}
|
|
public ProcessWcsDTO() {
|
}
|
|
public ProcessWcsDTO(final String time, final Long realTime, final String value, final String name, final String color) {
|
this.time = time;
|
this.realTime = realTime;
|
this.value = value;
|
this.name = name;
|
this.color = color;
|
}
|
|
public String getTime() {
|
return this.time;
|
}
|
|
public Long getRealTime() {
|
return this.realTime;
|
}
|
|
public String getValue() {
|
return this.value;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getColor() {
|
return this.color;
|
}
|
}
|