| | |
| | | package com.dayu.pipirrapp.bean.net; |
| | | |
| | | import java.io.File; |
| | | |
| | | /** |
| | | * Copyright (C), 2023, |
| | | * Author: zuo |
| | |
| | | */ |
| | | public class UplodFileState { |
| | | int state = 0;//0正在上传 1上传完成 2上传失败 |
| | | File file;//上传的文件 |
| | | String url;//上传文件后返回的url |
| | | String filePath;//上传的文件 |
| | | int number;//失败后重试的次数 |
| | | String id;//上传后的id |
| | | String webPath;//上传后的地址 |
| | | |
| | | public int getNumber() { |
| | | return number; |
| | |
| | | |
| | | } |
| | | |
| | | public UplodFileState(File file) { |
| | | this.file = file; |
| | | } |
| | | |
| | | public int getState() { |
| | | return state; |
| | | } |
| | |
| | | this.state = state; |
| | | } |
| | | |
| | | public File getFile() { |
| | | return file; |
| | | public String getFilePath() { |
| | | return filePath; |
| | | } |
| | | |
| | | public void setFile(File file) { |
| | | this.file = file; |
| | | public void setFilePath(String filePath) { |
| | | this.filePath = filePath; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getWebPath() { |
| | | return webPath; |
| | | } |
| | | |
| | | public void setWebPath(String webPath) { |
| | | this.webPath = webPath; |
| | | } |
| | | } |