package com.qianwen.smartman.modules.dnc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class TransferDirectoryGroupDto implements Serializable {
|
@ApiModelProperty("工位组id")
|
private Long workStationGroupId;
|
@ApiModelProperty("父工位组id")
|
private Long workStationGroupParentId;
|
@ApiModelProperty("工位组名称")
|
private String workStationGroupName;
|
|
public void setWorkStationGroupId(final Long workStationGroupId) {
|
this.workStationGroupId = workStationGroupId;
|
}
|
|
public void setWorkStationGroupParentId(final Long workStationGroupParentId) {
|
this.workStationGroupParentId = workStationGroupParentId;
|
}
|
|
public void setWorkStationGroupName(final String workStationGroupName) {
|
this.workStationGroupName = workStationGroupName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TransferDirectoryGroupDto) {
|
TransferDirectoryGroupDto other = (TransferDirectoryGroupDto) o;
|
if (other.canEqual(this)) {
|
Object this$workStationGroupId = getWorkStationGroupId();
|
Object other$workStationGroupId = other.getWorkStationGroupId();
|
if (this$workStationGroupId == null) {
|
if (other$workStationGroupId != null) {
|
return false;
|
}
|
} else if (!this$workStationGroupId.equals(other$workStationGroupId)) {
|
return false;
|
}
|
Object this$workStationGroupParentId = getWorkStationGroupParentId();
|
Object other$workStationGroupParentId = other.getWorkStationGroupParentId();
|
if (this$workStationGroupParentId == null) {
|
if (other$workStationGroupParentId != null) {
|
return false;
|
}
|
} else if (!this$workStationGroupParentId.equals(other$workStationGroupParentId)) {
|
return false;
|
}
|
Object this$workStationGroupName = getWorkStationGroupName();
|
Object other$workStationGroupName = other.getWorkStationGroupName();
|
return this$workStationGroupName == null ? other$workStationGroupName == null : this$workStationGroupName.equals(other$workStationGroupName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TransferDirectoryGroupDto;
|
}
|
|
public int hashCode() {
|
Object $workStationGroupId = getWorkStationGroupId();
|
int result = (1 * 59) + ($workStationGroupId == null ? 43 : $workStationGroupId.hashCode());
|
Object $workStationGroupParentId = getWorkStationGroupParentId();
|
int result2 = (result * 59) + ($workStationGroupParentId == null ? 43 : $workStationGroupParentId.hashCode());
|
Object $workStationGroupName = getWorkStationGroupName();
|
return (result2 * 59) + ($workStationGroupName == null ? 43 : $workStationGroupName.hashCode());
|
}
|
|
public String toString() {
|
return "TransferDirectoryGroupDto(workStationGroupId=" + getWorkStationGroupId() + ", workStationGroupParentId=" + getWorkStationGroupParentId() + ", workStationGroupName=" + getWorkStationGroupName() + ")";
|
}
|
|
public TransferDirectoryGroupDto(final Long workStationGroupId, final Long workStationGroupParentId, final String workStationGroupName) {
|
this.workStationGroupId = workStationGroupId;
|
this.workStationGroupParentId = workStationGroupParentId;
|
this.workStationGroupName = workStationGroupName;
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/dto/TransferDirectoryGroupDto$TransferDirectoryGroupDtoBuilder.class */
|
public static class TransferDirectoryGroupDtoBuilder {
|
private Long workStationGroupId;
|
private Long workStationGroupParentId;
|
private String workStationGroupName;
|
|
TransferDirectoryGroupDtoBuilder() {
|
}
|
|
public TransferDirectoryGroupDtoBuilder workStationGroupId(final Long workStationGroupId) {
|
this.workStationGroupId = workStationGroupId;
|
return this;
|
}
|
|
public TransferDirectoryGroupDtoBuilder workStationGroupParentId(final Long workStationGroupParentId) {
|
this.workStationGroupParentId = workStationGroupParentId;
|
return this;
|
}
|
|
public TransferDirectoryGroupDtoBuilder workStationGroupName(final String workStationGroupName) {
|
this.workStationGroupName = workStationGroupName;
|
return this;
|
}
|
|
public TransferDirectoryGroupDto build() {
|
return new TransferDirectoryGroupDto(this.workStationGroupId, this.workStationGroupParentId, this.workStationGroupName);
|
}
|
|
public String toString() {
|
return "TransferDirectoryGroupDto.TransferDirectoryGroupDtoBuilder(workStationGroupId=" + this.workStationGroupId + ", workStationGroupParentId=" + this.workStationGroupParentId + ", workStationGroupName=" + this.workStationGroupName + ")";
|
}
|
}
|
|
public TransferDirectoryGroupDto() {
|
}
|
|
public static TransferDirectoryGroupDtoBuilder builder() {
|
return new TransferDirectoryGroupDtoBuilder();
|
}
|
|
public Long getWorkStationGroupId() {
|
return this.workStationGroupId;
|
}
|
|
public Long getWorkStationGroupParentId() {
|
return this.workStationGroupParentId;
|
}
|
|
public String getWorkStationGroupName() {
|
return this.workStationGroupName;
|
}
|
}
|