| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package jnpf.entity;
- import lombok.Data;
- import lombok.experimental.Accessors;
- @Data
- @Accessors(chain = true)
- public class FileParameter {
- public FileParameter() {
- }
- public FileParameter(String remotePath, String remoteFileName) {
- this.remotePath = remotePath;
- this.remoteFileName = remoteFileName;
- }
- /**
- * 下载的远端路径/上传路径
- */
- private String remotePath;
- /**
- * 下载的远端文件名/上传的远端文件名
- */
- private String remoteFileName;
- /**
- * 下载到本地的路径
- */
- private String locaFilelPath;
- /**
- * 下载的本地文件名/上传源文件名
- */
- private String localFileName;
- /**
- * 是否生成缩略图
- */
- private boolean thumbnail;
- /**
- * 平台文件类型
- * @see jnpf.constant.FileTypeConstant
- */
- private String platformFileType;
- /**
- * 递归列出文件夹下的所有文件
- * 列出文件列表时使用
- */
- private boolean recursive;
- /**
- * 文件类型
- */
- // private String fileType;
- /**
- * 是否从本地下载
- */
- private boolean orgin;
- }
|