package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/WorkstationTdVO.class */
|
public class WorkstationTdVO implements Serializable {
|
@NotBlank(message = "关联目录方式必传")
|
@ApiModelProperty("1 关联FTP目录 2 创建同名FTP目录")
|
private Integer type;
|
@ApiModelProperty("FTP目录id")
|
private String directorTransferId;
|
@ApiModelProperty("工位id")
|
private String workstationId;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位组id")
|
private String workstationGroupId;
|
|
public void setType(final Integer type) {
|
this.type = type;
|
}
|
|
public void setDirectorTransferId(final String directorTransferId) {
|
this.directorTransferId = directorTransferId;
|
}
|
|
public void setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setWorkstationGroupId(final String workstationGroupId) {
|
this.workstationGroupId = workstationGroupId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationTdVO) {
|
WorkstationTdVO other = (WorkstationTdVO) o;
|
if (other.canEqual(this)) {
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$directorTransferId = getDirectorTransferId();
|
Object other$directorTransferId = other.getDirectorTransferId();
|
if (this$directorTransferId == null) {
|
if (other$directorTransferId != null) {
|
return false;
|
}
|
} else if (!this$directorTransferId.equals(other$directorTransferId)) {
|
return false;
|
}
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
return false;
|
}
|
Object this$workstationGroupId = getWorkstationGroupId();
|
Object other$workstationGroupId = other.getWorkstationGroupId();
|
return this$workstationGroupId == null ? other$workstationGroupId == null : this$workstationGroupId.equals(other$workstationGroupId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationTdVO;
|
}
|
|
public int hashCode() {
|
Object $type = getType();
|
int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $directorTransferId = getDirectorTransferId();
|
int result2 = (result * 59) + ($directorTransferId == null ? 43 : $directorTransferId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result4 = (result3 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationGroupId = getWorkstationGroupId();
|
return (result4 * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationTdVO(type=" + getType() + ", directorTransferId=" + getDirectorTransferId() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", workstationGroupId=" + getWorkstationGroupId() + ")";
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
|
public String getDirectorTransferId() {
|
return this.directorTransferId;
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getWorkstationGroupId() {
|
return this.workstationGroupId;
|
}
|
}
|