package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/DncArchiveDirectoryUpdateVO.class */
|
public class DncArchiveDirectoryUpdateVO {
|
@NotBlank(message = "archive directory parent id cannot be empty")
|
@ApiModelProperty("父节点id")
|
private String parentId;
|
@NotBlank(message = "archive directory id cannot be empty")
|
@ApiModelProperty("目录id")
|
private String directoryId;
|
@NotBlank(message = "archive directory name cannot be empty")
|
@ApiModelProperty("归档目录名称")
|
private String name;
|
|
public void setParentId(final String parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setDirectoryId(final String directoryId) {
|
this.directoryId = directoryId;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncArchiveDirectoryUpdateVO) {
|
DncArchiveDirectoryUpdateVO other = (DncArchiveDirectoryUpdateVO) o;
|
if (other.canEqual(this)) {
|
Object this$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
return false;
|
}
|
Object this$directoryId = getDirectoryId();
|
Object other$directoryId = other.getDirectoryId();
|
if (this$directoryId == null) {
|
if (other$directoryId != null) {
|
return false;
|
}
|
} else if (!this$directoryId.equals(other$directoryId)) {
|
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 DncArchiveDirectoryUpdateVO;
|
}
|
|
public int hashCode() {
|
Object $parentId = getParentId();
|
int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $directoryId = getDirectoryId();
|
int result2 = (result * 59) + ($directoryId == null ? 43 : $directoryId.hashCode());
|
Object $name = getName();
|
return (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "DncArchiveDirectoryUpdateVO(parentId=" + getParentId() + ", directoryId=" + getDirectoryId() + ", name=" + getName() + ")";
|
}
|
|
public String getParentId() {
|
return this.parentId;
|
}
|
|
public String getDirectoryId() {
|
return this.directoryId;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
}
|