package com.qianwen.smartman.modules.dnc.vo; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; import com.qianwen.smartman.modules.dnc.enums.FileType; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/NewFolderVO.class */ public class NewFolderVO { @NotBlank private String name; private Long parent; @ApiModelProperty("主键id") private Long id; @ApiModelProperty("文件名") private String displayName; @ApiModelProperty("后缀名") private String suffix; private FileType fileType; private Long owner; @ApiModelProperty("对象MIME类型") private String contentType; @ApiModelProperty("文件的objectKey") private String objectKey; @ApiModelProperty("文件md5值") private String contentMd5; @ApiModelProperty("文件大小") private Long contentLength; private String allPathName; public void setName(final String name) { this.name = name; } public void setParent(final Long parent) { this.parent = parent; } public void setId(final Long id) { this.id = id; } public void setDisplayName(final String displayName) { this.displayName = displayName; } public void setSuffix(final String suffix) { this.suffix = suffix; } public void setFileType(final FileType fileType) { this.fileType = fileType; } public void setOwner(final Long owner) { this.owner = owner; } public void setContentType(final String contentType) { this.contentType = contentType; } public void setObjectKey(final String objectKey) { this.objectKey = objectKey; } public void setContentMd5(final String contentMd5) { this.contentMd5 = contentMd5; } public void setContentLength(final Long contentLength) { this.contentLength = contentLength; } public void setAllPathName(final String allPathName) { this.allPathName = allPathName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof NewFolderVO) { NewFolderVO other = (NewFolderVO) o; if (other.canEqual(this)) { Object this$parent = getParent(); Object other$parent = other.getParent(); if (this$parent == null) { if (other$parent != null) { return false; } } else if (!this$parent.equals(other$parent)) { return false; } Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$owner = getOwner(); Object other$owner = other.getOwner(); if (this$owner == null) { if (other$owner != null) { return false; } } else if (!this$owner.equals(other$owner)) { return false; } Object this$contentLength = getContentLength(); Object other$contentLength = other.getContentLength(); if (this$contentLength == null) { if (other$contentLength != null) { return false; } } else if (!this$contentLength.equals(other$contentLength)) { return false; } 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$displayName = getDisplayName(); Object other$displayName = other.getDisplayName(); if (this$displayName == null) { if (other$displayName != null) { return false; } } else if (!this$displayName.equals(other$displayName)) { return false; } Object this$suffix = getSuffix(); Object other$suffix = other.getSuffix(); if (this$suffix == null) { if (other$suffix != null) { return false; } } else if (!this$suffix.equals(other$suffix)) { 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$contentType = getContentType(); Object other$contentType = other.getContentType(); if (this$contentType == null) { if (other$contentType != null) { return false; } } else if (!this$contentType.equals(other$contentType)) { return false; } Object this$objectKey = getObjectKey(); Object other$objectKey = other.getObjectKey(); if (this$objectKey == null) { if (other$objectKey != null) { return false; } } else if (!this$objectKey.equals(other$objectKey)) { return false; } Object this$contentMd5 = getContentMd5(); Object other$contentMd5 = other.getContentMd5(); if (this$contentMd5 == null) { if (other$contentMd5 != null) { return false; } } else if (!this$contentMd5.equals(other$contentMd5)) { return false; } Object this$allPathName = getAllPathName(); Object other$allPathName = other.getAllPathName(); return this$allPathName == null ? other$allPathName == null : this$allPathName.equals(other$allPathName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof NewFolderVO; } public int hashCode() { Object $parent = getParent(); int result = (1 * 59) + ($parent == null ? 43 : $parent.hashCode()); Object $id = getId(); int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode()); Object $owner = getOwner(); int result3 = (result2 * 59) + ($owner == null ? 43 : $owner.hashCode()); Object $contentLength = getContentLength(); int result4 = (result3 * 59) + ($contentLength == null ? 43 : $contentLength.hashCode()); Object $name = getName(); int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode()); Object $displayName = getDisplayName(); int result6 = (result5 * 59) + ($displayName == null ? 43 : $displayName.hashCode()); Object $suffix = getSuffix(); int result7 = (result6 * 59) + ($suffix == null ? 43 : $suffix.hashCode()); Object $fileType = getFileType(); int result8 = (result7 * 59) + ($fileType == null ? 43 : $fileType.hashCode()); Object $contentType = getContentType(); int result9 = (result8 * 59) + ($contentType == null ? 43 : $contentType.hashCode()); Object $objectKey = getObjectKey(); int result10 = (result9 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode()); Object $contentMd5 = getContentMd5(); int result11 = (result10 * 59) + ($contentMd5 == null ? 43 : $contentMd5.hashCode()); Object $allPathName = getAllPathName(); return (result11 * 59) + ($allPathName == null ? 43 : $allPathName.hashCode()); } public String toString() { return "NewFolderVO(name=" + getName() + ", parent=" + getParent() + ", id=" + getId() + ", displayName=" + getDisplayName() + ", suffix=" + getSuffix() + ", fileType=" + getFileType() + ", owner=" + getOwner() + ", contentType=" + getContentType() + ", objectKey=" + getObjectKey() + ", contentMd5=" + getContentMd5() + ", contentLength=" + getContentLength() + ", allPathName=" + getAllPathName() + ")"; } public NewFolderVO(final String name, final Long parent, final Long id, final String displayName, final String suffix, final FileType fileType, final Long owner, final String contentType, final String objectKey, final String contentMd5, final Long contentLength, final String allPathName) { this.name = name; this.parent = parent; this.id = id; this.displayName = displayName; this.suffix = suffix; this.fileType = fileType; this.owner = owner; this.contentType = contentType; this.objectKey = objectKey; this.contentMd5 = contentMd5; this.contentLength = contentLength; this.allPathName = allPathName; } /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/NewFolderVO$NewFolderVOBuilder.class */ public static class NewFolderVOBuilder { private String name; private Long parent; private Long id; private String displayName; private String suffix; private FileType fileType; private Long owner; private String contentType; private String objectKey; private String contentMd5; private Long contentLength; private String allPathName; NewFolderVOBuilder() { } public NewFolderVOBuilder name(final String name) { this.name = name; return this; } public NewFolderVOBuilder parent(final Long parent) { this.parent = parent; return this; } public NewFolderVOBuilder id(final Long id) { this.id = id; return this; } public NewFolderVOBuilder displayName(final String displayName) { this.displayName = displayName; return this; } public NewFolderVOBuilder suffix(final String suffix) { this.suffix = suffix; return this; } public NewFolderVOBuilder fileType(final FileType fileType) { this.fileType = fileType; return this; } public NewFolderVOBuilder owner(final Long owner) { this.owner = owner; return this; } public NewFolderVOBuilder contentType(final String contentType) { this.contentType = contentType; return this; } public NewFolderVOBuilder objectKey(final String objectKey) { this.objectKey = objectKey; return this; } public NewFolderVOBuilder contentMd5(final String contentMd5) { this.contentMd5 = contentMd5; return this; } public NewFolderVOBuilder contentLength(final Long contentLength) { this.contentLength = contentLength; return this; } public NewFolderVOBuilder allPathName(final String allPathName) { this.allPathName = allPathName; return this; } public NewFolderVO build() { return new NewFolderVO(this.name, this.parent, this.id, this.displayName, this.suffix, this.fileType, this.owner, this.contentType, this.objectKey, this.contentMd5, this.contentLength, this.allPathName); } public String toString() { return "NewFolderVO.NewFolderVOBuilder(name=" + this.name + ", parent=" + this.parent + ", id=" + this.id + ", displayName=" + this.displayName + ", suffix=" + this.suffix + ", fileType=" + this.fileType + ", owner=" + this.owner + ", contentType=" + this.contentType + ", objectKey=" + this.objectKey + ", contentMd5=" + this.contentMd5 + ", contentLength=" + this.contentLength + ", allPathName=" + this.allPathName + ")"; } } public NewFolderVO() { } public static NewFolderVOBuilder builder() { return new NewFolderVOBuilder(); } public String getName() { return this.name; } public Long getParent() { return this.parent; } public Long getId() { return this.id; } public String getDisplayName() { return this.displayName; } public String getSuffix() { return this.suffix; } public FileType getFileType() { return this.fileType; } public Long getOwner() { return this.owner; } public String getContentType() { return this.contentType; } public String getObjectKey() { return this.objectKey; } public String getContentMd5() { return this.contentMd5; } public Long getContentLength() { return this.contentLength; } public String getAllPathName() { return this.allPathName; } }