package com.qianwen.smartman.modules.dnc.vo;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/RenameVO.class */
|
public class RenameVO {
|
@NotBlank(message = "NOTNULL")
|
private String newName;
|
@NotNull(message = "NOTNULL")
|
private Long parentId;
|
@NotNull(message = "NOTNULL")
|
private Integer fileType;
|
|
public void setNewName(final String newName) {
|
this.newName = newName;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RenameVO) {
|
RenameVO other = (RenameVO) 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$fileType = getFileType();
|
Object other$fileType = other.getFileType();
|
if (this$fileType == null) {
|
if (other$fileType != null) {
|
return false;
|
}
|
} else if (!this$fileType.equals(other$fileType)) {
|
return false;
|
}
|
Object this$newName = getNewName();
|
Object other$newName = other.getNewName();
|
return this$newName == null ? other$newName == null : this$newName.equals(other$newName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RenameVO;
|
}
|
|
public int hashCode() {
|
Object $parentId = getParentId();
|
int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $fileType = getFileType();
|
int result2 = (result * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $newName = getNewName();
|
return (result2 * 59) + ($newName == null ? 43 : $newName.hashCode());
|
}
|
|
public String toString() {
|
return "RenameVO(newName=" + getNewName() + ", parentId=" + getParentId() + ", fileType=" + getFileType() + ")";
|
}
|
|
public String getNewName() {
|
return this.newName;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
}
|