MergeChunkDto.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package jnpf.model;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. /**
  6. * @Description:
  7. * @date 2020/6/10 20:39
  8. */
  9. @Data
  10. public class MergeChunkDto implements Serializable {
  11. @Schema(description = "名称")
  12. private String fileName;
  13. @Schema(description = "分片")
  14. private String identifier;
  15. @Schema(description = "文件大小")
  16. private Long filesize;
  17. @Schema(description = "扩展")
  18. private String extension;
  19. @Schema(description = "文件类型")
  20. private String fileType;
  21. @Schema(description = "类型")
  22. private String type;
  23. @Schema(description = "父级id")
  24. private String parentId;
  25. /**
  26. * 文件上传路径类型
  27. */
  28. @Schema(description = "文件上传路径类型")
  29. private String pathType;
  30. @Schema(description = "文件上传路径规则")
  31. private String sortRule;
  32. @Schema(description = "时间存储格式")
  33. private String timeFormat;
  34. /**
  35. * 文件路径,子级文件用“/”隔开,如:文件1/文件1-1
  36. */
  37. @Schema(description = "文件路径")
  38. private String folder;
  39. }