package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/UpdateDirectoryVO.class */
|
public class UpdateDirectoryVO implements Serializable {
|
@NotBlank(message = "目录id必传")
|
@ApiModelProperty("目录id")
|
private String directorId;
|
@NotBlank(message = "目录名称必传")
|
@ApiModelProperty("目录名称")
|
private String directorName;
|
@ApiModelProperty("旧工位集合")
|
private List<String> oldWorkstationIds;
|
@ApiModelProperty("新工位集合")
|
private List<String> newWorkstationIds;
|
|
public void setDirectorId(final String directorId) {
|
this.directorId = directorId;
|
}
|
|
public void setDirectorName(final String directorName) {
|
this.directorName = directorName;
|
}
|
|
public void setOldWorkstationIds(final List<String> oldWorkstationIds) {
|
this.oldWorkstationIds = oldWorkstationIds;
|
}
|
|
public void setNewWorkstationIds(final List<String> newWorkstationIds) {
|
this.newWorkstationIds = newWorkstationIds;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof UpdateDirectoryVO) {
|
UpdateDirectoryVO other = (UpdateDirectoryVO) o;
|
if (other.canEqual(this)) {
|
Object this$directorId = getDirectorId();
|
Object other$directorId = other.getDirectorId();
|
if (this$directorId == null) {
|
if (other$directorId != null) {
|
return false;
|
}
|
} else if (!this$directorId.equals(other$directorId)) {
|
return false;
|
}
|
Object this$directorName = getDirectorName();
|
Object other$directorName = other.getDirectorName();
|
if (this$directorName == null) {
|
if (other$directorName != null) {
|
return false;
|
}
|
} else if (!this$directorName.equals(other$directorName)) {
|
return false;
|
}
|
Object this$oldWorkstationIds = getOldWorkstationIds();
|
Object other$oldWorkstationIds = other.getOldWorkstationIds();
|
if (this$oldWorkstationIds == null) {
|
if (other$oldWorkstationIds != null) {
|
return false;
|
}
|
} else if (!this$oldWorkstationIds.equals(other$oldWorkstationIds)) {
|
return false;
|
}
|
Object this$newWorkstationIds = getNewWorkstationIds();
|
Object other$newWorkstationIds = other.getNewWorkstationIds();
|
return this$newWorkstationIds == null ? other$newWorkstationIds == null : this$newWorkstationIds.equals(other$newWorkstationIds);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UpdateDirectoryVO;
|
}
|
|
public int hashCode() {
|
Object $directorId = getDirectorId();
|
int result = (1 * 59) + ($directorId == null ? 43 : $directorId.hashCode());
|
Object $directorName = getDirectorName();
|
int result2 = (result * 59) + ($directorName == null ? 43 : $directorName.hashCode());
|
Object $oldWorkstationIds = getOldWorkstationIds();
|
int result3 = (result2 * 59) + ($oldWorkstationIds == null ? 43 : $oldWorkstationIds.hashCode());
|
Object $newWorkstationIds = getNewWorkstationIds();
|
return (result3 * 59) + ($newWorkstationIds == null ? 43 : $newWorkstationIds.hashCode());
|
}
|
|
public String toString() {
|
return "UpdateDirectoryVO(directorId=" + getDirectorId() + ", directorName=" + getDirectorName() + ", oldWorkstationIds=" + getOldWorkstationIds() + ", newWorkstationIds=" + getNewWorkstationIds() + ")";
|
}
|
|
public String getDirectorId() {
|
return this.directorId;
|
}
|
|
public String getDirectorName() {
|
return this.directorName;
|
}
|
|
public List<String> getOldWorkstationIds() {
|
return this.oldWorkstationIds;
|
}
|
|
public List<String> getNewWorkstationIds() {
|
return this.newWorkstationIds;
|
}
|
}
|