package com.qianwen.smartman.modules.visual.dto;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dto/WcsDurationDTO.class */
|
public class WcsDurationDTO implements Serializable {
|
private static final long serialVersionUID = -7945668671373475007L;
|
private Integer wcs;
|
private Long duration;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dto/WcsDurationDTO$WcsDurationDTOBuilder.class */
|
public static class WcsDurationDTOBuilder {
|
private Integer wcs;
|
private Long duration;
|
|
WcsDurationDTOBuilder() {
|
}
|
|
public WcsDurationDTOBuilder wcs(final Integer wcs) {
|
this.wcs = wcs;
|
return this;
|
}
|
|
public WcsDurationDTOBuilder duration(final Long duration) {
|
this.duration = duration;
|
return this;
|
}
|
|
public WcsDurationDTO build() {
|
return new WcsDurationDTO(this.wcs, this.duration);
|
}
|
|
public String toString() {
|
return "WcsDurationDTO.WcsDurationDTOBuilder(wcs=" + this.wcs + ", duration=" + this.duration + ")";
|
}
|
}
|
|
public void setWcs(final Integer wcs) {
|
this.wcs = wcs;
|
}
|
|
public void setDuration(final Long duration) {
|
this.duration = duration;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WcsDurationDTO) {
|
WcsDurationDTO other = (WcsDurationDTO) o;
|
if (other.canEqual(this)) {
|
Object this$wcs = getWcs();
|
Object other$wcs = other.getWcs();
|
if (this$wcs == null) {
|
if (other$wcs != null) {
|
return false;
|
}
|
} else if (!this$wcs.equals(other$wcs)) {
|
return false;
|
}
|
Object this$duration = getDuration();
|
Object other$duration = other.getDuration();
|
return this$duration == null ? other$duration == null : this$duration.equals(other$duration);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WcsDurationDTO;
|
}
|
|
public int hashCode() {
|
Object $wcs = getWcs();
|
int result = (1 * 59) + ($wcs == null ? 43 : $wcs.hashCode());
|
Object $duration = getDuration();
|
return (result * 59) + ($duration == null ? 43 : $duration.hashCode());
|
}
|
|
public String toString() {
|
return "WcsDurationDTO(wcs=" + getWcs() + ", duration=" + getDuration() + ")";
|
}
|
|
public static WcsDurationDTOBuilder builder() {
|
return new WcsDurationDTOBuilder();
|
}
|
|
public WcsDurationDTO() {
|
}
|
|
public WcsDurationDTO(final Integer wcs, final Long duration) {
|
this.wcs = wcs;
|
this.duration = duration;
|
}
|
|
public Integer getWcs() {
|
return this.wcs;
|
}
|
|
public Long getDuration() {
|
return this.duration;
|
}
|
}
|