001package co.codewizards.cloudstore.core.dto; 002 003import javax.xml.bind.annotation.XmlRootElement; 004 005@XmlRootElement 006public class FileChunkDTO { 007 008 private long offset; 009 010 private int length; 011 012 private String sha1; 013 014 public long getOffset() { 015 return offset; 016 } 017 public void setOffset(long offset) { 018 this.offset = offset; 019 } 020 021 public int getLength() { 022 return length; 023 } 024 public void setLength(int length) { 025 this.length = length; 026 } 027 028 public String getSha1() { 029 return sha1; 030 } 031 public void setSha1(String sha1) { 032 this.sha1 = sha1; 033 } 034 035}