21 lines
599 B
Java
21 lines
599 B
Java
package com.vetti.socket.vo;
|
|
|
|
/**
|
|
* 文件元数据类
|
|
*/
|
|
public class FileMetadata {
|
|
|
|
private String fileName;
|
|
private long totalSize;
|
|
private int totalParts;
|
|
|
|
// getter和setter方法
|
|
public String getFileName() { return fileName; }
|
|
public void setFileName(String fileName) { this.fileName = fileName; }
|
|
public long getTotalSize() { return totalSize; }
|
|
public void setTotalSize(long totalSize) { this.totalSize = totalSize; }
|
|
public int getTotalParts() { return totalParts; }
|
|
public void setTotalParts(int totalParts) { this.totalParts = totalParts; }
|
|
|
|
}
|