package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/TransferDirectorAddVO.class */
|
public class TransferDirectorAddVO {
|
@NotBlank(message = "目录名称不能为空")
|
@ApiModelProperty("目录名称")
|
private String name;
|
@ApiModelProperty("工位id")
|
private List<String> workstationIds;
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setWorkstationIds(final List<String> workstationIds) {
|
this.workstationIds = workstationIds;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TransferDirectorAddVO) {
|
TransferDirectorAddVO other = (TransferDirectorAddVO) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$workstationIds = getWorkstationIds();
|
Object other$workstationIds = other.getWorkstationIds();
|
return this$workstationIds == null ? other$workstationIds == null : this$workstationIds.equals(other$workstationIds);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TransferDirectorAddVO;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $workstationIds = getWorkstationIds();
|
return (result * 59) + ($workstationIds == null ? 43 : $workstationIds.hashCode());
|
}
|
|
public String toString() {
|
return "TransferDirectorAddVO(name=" + getName() + ", workstationIds=" + getWorkstationIds() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public List<String> getWorkstationIds() {
|
return this.workstationIds;
|
}
|
}
|