package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/VersionLineDTO.class */
|
public class VersionLineDTO {
|
@ApiModelProperty("产线id")
|
private String groupId;
|
@ApiModelProperty("产线编号")
|
private String code;
|
@ApiModelProperty("产线名称")
|
private String name;
|
|
public void setGroupId(final String groupId) {
|
this.groupId = groupId;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof VersionLineDTO) {
|
VersionLineDTO other = (VersionLineDTO) o;
|
if (other.canEqual(this)) {
|
Object this$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
if (this$groupId == null) {
|
if (other$groupId != null) {
|
return false;
|
}
|
} else if (!this$groupId.equals(other$groupId)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
return this$name == null ? other$name == null : this$name.equals(other$name);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof VersionLineDTO;
|
}
|
|
public int hashCode() {
|
Object $groupId = getGroupId();
|
int result = (1 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $code = getCode();
|
int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
return (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "VersionLineDTO(groupId=" + getGroupId() + ", code=" + getCode() + ", name=" + getName() + ")";
|
}
|
|
public String getGroupId() {
|
return this.groupId;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
}
|