package com.qianwen.smartman.modules.dnc.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
import java.time.LocalDateTime;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/EntityInfoVO.class */
|
public class EntityInfoVO {
|
private String id;
|
private Boolean isDirectory;
|
private Boolean canWrite;
|
private String name;
|
private Long size;
|
private String objectKey;
|
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private LocalDateTime creationTime;
|
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private LocalDateTime updateTime;
|
private String owner;
|
private String hash;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/EntityInfoVO$EntityInfoVOBuilder.class */
|
public static class EntityInfoVOBuilder {
|
private String id;
|
private Boolean isDirectory;
|
private Boolean canWrite;
|
private String name;
|
private Long size;
|
private String objectKey;
|
private LocalDateTime creationTime;
|
private LocalDateTime updateTime;
|
private String owner;
|
private String hash;
|
|
EntityInfoVOBuilder() {
|
}
|
|
public EntityInfoVOBuilder id(final String id) {
|
this.id = id;
|
return this;
|
}
|
|
public EntityInfoVOBuilder isDirectory(final Boolean isDirectory) {
|
this.isDirectory = isDirectory;
|
return this;
|
}
|
|
public EntityInfoVOBuilder canWrite(final Boolean canWrite) {
|
this.canWrite = canWrite;
|
return this;
|
}
|
|
public EntityInfoVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public EntityInfoVOBuilder size(final Long size) {
|
this.size = size;
|
return this;
|
}
|
|
public EntityInfoVOBuilder objectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public EntityInfoVOBuilder creationTime(final LocalDateTime creationTime) {
|
this.creationTime = creationTime;
|
return this;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public EntityInfoVOBuilder updateTime(final LocalDateTime updateTime) {
|
this.updateTime = updateTime;
|
return this;
|
}
|
|
public EntityInfoVOBuilder owner(final String owner) {
|
this.owner = owner;
|
return this;
|
}
|
|
public EntityInfoVOBuilder hash(final String hash) {
|
this.hash = hash;
|
return this;
|
}
|
|
public EntityInfoVO build() {
|
return new EntityInfoVO(this.id, this.isDirectory, this.canWrite, this.name, this.size, this.objectKey, this.creationTime, this.updateTime, this.owner, this.hash);
|
}
|
|
public String toString() {
|
return "EntityInfoVO.EntityInfoVOBuilder(id=" + this.id + ", isDirectory=" + this.isDirectory + ", canWrite=" + this.canWrite + ", name=" + this.name + ", size=" + this.size + ", objectKey=" + this.objectKey + ", creationTime=" + this.creationTime + ", updateTime=" + this.updateTime + ", owner=" + this.owner + ", hash=" + this.hash + ")";
|
}
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setIsDirectory(final Boolean isDirectory) {
|
this.isDirectory = isDirectory;
|
}
|
|
public void setCanWrite(final Boolean canWrite) {
|
this.canWrite = canWrite;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setSize(final Long size) {
|
this.size = size;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setCreationTime(final LocalDateTime creationTime) {
|
this.creationTime = creationTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setUpdateTime(final LocalDateTime updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public void setOwner(final String owner) {
|
this.owner = owner;
|
}
|
|
public void setHash(final String hash) {
|
this.hash = hash;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof EntityInfoVO) {
|
EntityInfoVO other = (EntityInfoVO) o;
|
if (other.canEqual(this)) {
|
Object this$isDirectory = getIsDirectory();
|
Object other$isDirectory = other.getIsDirectory();
|
if (this$isDirectory == null) {
|
if (other$isDirectory != null) {
|
return false;
|
}
|
} else if (!this$isDirectory.equals(other$isDirectory)) {
|
return false;
|
}
|
Object this$canWrite = getCanWrite();
|
Object other$canWrite = other.getCanWrite();
|
if (this$canWrite == null) {
|
if (other$canWrite != null) {
|
return false;
|
}
|
} else if (!this$canWrite.equals(other$canWrite)) {
|
return false;
|
}
|
Object this$size = getSize();
|
Object other$size = other.getSize();
|
if (this$size == null) {
|
if (other$size != null) {
|
return false;
|
}
|
} else if (!this$size.equals(other$size)) {
|
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$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$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$creationTime = getCreationTime();
|
Object other$creationTime = other.getCreationTime();
|
if (this$creationTime == null) {
|
if (other$creationTime != null) {
|
return false;
|
}
|
} else if (!this$creationTime.equals(other$creationTime)) {
|
return false;
|
}
|
Object this$updateTime = getUpdateTime();
|
Object other$updateTime = other.getUpdateTime();
|
if (this$updateTime == null) {
|
if (other$updateTime != null) {
|
return false;
|
}
|
} else if (!this$updateTime.equals(other$updateTime)) {
|
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$hash = getHash();
|
Object other$hash = other.getHash();
|
return this$hash == null ? other$hash == null : this$hash.equals(other$hash);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof EntityInfoVO;
|
}
|
|
public int hashCode() {
|
Object $isDirectory = getIsDirectory();
|
int result = (1 * 59) + ($isDirectory == null ? 43 : $isDirectory.hashCode());
|
Object $canWrite = getCanWrite();
|
int result2 = (result * 59) + ($canWrite == null ? 43 : $canWrite.hashCode());
|
Object $size = getSize();
|
int result3 = (result2 * 59) + ($size == null ? 43 : $size.hashCode());
|
Object $id = getId();
|
int result4 = (result3 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $name = getName();
|
int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $objectKey = getObjectKey();
|
int result6 = (result5 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $creationTime = getCreationTime();
|
int result7 = (result6 * 59) + ($creationTime == null ? 43 : $creationTime.hashCode());
|
Object $updateTime = getUpdateTime();
|
int result8 = (result7 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
|
Object $owner = getOwner();
|
int result9 = (result8 * 59) + ($owner == null ? 43 : $owner.hashCode());
|
Object $hash = getHash();
|
return (result9 * 59) + ($hash == null ? 43 : $hash.hashCode());
|
}
|
|
public String toString() {
|
return "EntityInfoVO(id=" + getId() + ", isDirectory=" + getIsDirectory() + ", canWrite=" + getCanWrite() + ", name=" + getName() + ", size=" + getSize() + ", objectKey=" + getObjectKey() + ", creationTime=" + getCreationTime() + ", updateTime=" + getUpdateTime() + ", owner=" + getOwner() + ", hash=" + getHash() + ")";
|
}
|
|
public static EntityInfoVOBuilder builder() {
|
return new EntityInfoVOBuilder();
|
}
|
|
public EntityInfoVO() {
|
}
|
|
public EntityInfoVO(final String id, final Boolean isDirectory, final Boolean canWrite, final String name, final Long size, final String objectKey, final LocalDateTime creationTime, final LocalDateTime updateTime, final String owner, final String hash) {
|
this.id = id;
|
this.isDirectory = isDirectory;
|
this.canWrite = canWrite;
|
this.name = name;
|
this.size = size;
|
this.objectKey = objectKey;
|
this.creationTime = creationTime;
|
this.updateTime = updateTime;
|
this.owner = owner;
|
this.hash = hash;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public Boolean getIsDirectory() {
|
return this.isDirectory;
|
}
|
|
public Boolean getCanWrite() {
|
return this.canWrite;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Long getSize() {
|
return this.size;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public LocalDateTime getCreationTime() {
|
return this.creationTime;
|
}
|
|
public LocalDateTime getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public String getOwner() {
|
return this.owner;
|
}
|
|
public String getHash() {
|
return this.hash;
|
}
|
}
|