// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package org.jeecg.modules.doc.vo; public class UploadFile { private int chunkNumber; private long chunkSize; private int totalChunks; private String identifier; private long totalSize; private long currentChunkSize; public UploadFile() { } public int getChunkNumber() { return this.chunkNumber; } public long getChunkSize() { return this.chunkSize; } public int getTotalChunks() { return this.totalChunks; } public String getIdentifier() { return this.identifier; } public long getTotalSize() { return this.totalSize; } public long getCurrentChunkSize() { return this.currentChunkSize; } public void setChunkNumber(final int chunkNumber) { this.chunkNumber = chunkNumber; } public void setChunkSize(final long chunkSize) { this.chunkSize = chunkSize; } public void setTotalChunks(final int totalChunks) { this.totalChunks = totalChunks; } public void setIdentifier(final String identifier) { this.identifier = identifier; } public void setTotalSize(final long totalSize) { this.totalSize = totalSize; } public void setCurrentChunkSize(final long currentChunkSize) { this.currentChunkSize = currentChunkSize; } public boolean equals(final Object o) { if (o == this) { return true; } else if (!(o instanceof UploadFile)) { return false; } else { UploadFile other = (UploadFile)o; if (!other.canEqual(this)) { return false; } else if (this.getChunkNumber() != other.getChunkNumber()) { return false; } else if (this.getChunkSize() != other.getChunkSize()) { return false; } else if (this.getTotalChunks() != other.getTotalChunks()) { return false; } else if (this.getTotalSize() != other.getTotalSize()) { return false; } else if (this.getCurrentChunkSize() != other.getCurrentChunkSize()) { return false; } else { Object this$identifier = this.getIdentifier(); Object other$identifier = other.getIdentifier(); if (this$identifier == null) { if (other$identifier != null) { return false; } } else if (!this$identifier.equals(other$identifier)) { return false; } return true; } } } protected boolean canEqual(final Object other) { return other instanceof UploadFile; } public int hashCode() { boolean PRIME = true; int result = 1; result = result * 59 + this.getChunkNumber(); long $chunkSize = this.getChunkSize(); result = result * 59 + (int)($chunkSize >>> 32 ^ $chunkSize); result = result * 59 + this.getTotalChunks(); long $totalSize = this.getTotalSize(); result = result * 59 + (int)($totalSize >>> 32 ^ $totalSize); long $currentChunkSize = this.getCurrentChunkSize(); result = result * 59 + (int)($currentChunkSize >>> 32 ^ $currentChunkSize); Object $identifier = this.getIdentifier(); result = result * 59 + ($identifier == null ? 43 : $identifier.hashCode()); return result; } public String toString() { return "UploadFile(chunkNumber=" + this.getChunkNumber() + ", chunkSize=" + this.getChunkSize() + ", totalChunks=" + this.getTotalChunks() + ", identifier=" + this.getIdentifier() + ", totalSize=" + this.getTotalSize() + ", currentChunkSize=" + this.getCurrentChunkSize() + ")"; } }