package com.dayu.pipirrapp.bean.net;
|
|
import com.dayu.pipirrapp.net.BaseResponse;
|
|
import retrofit2.Call;
|
|
/**
|
* Copyright (C), 2023,
|
* Author: zuo
|
* Date: 2023-04-15 8:15
|
* Description:
|
*/
|
public class UplodFileState {
|
int state = 0;//0正在上传 1上传完成 2上传失败
|
String filePath;//上传的文件
|
int number;//失败后重试的次数
|
String id;//上传后的id
|
String webPath;//上传后的地址
|
Call<BaseResponse> thisCall;//当前请求
|
|
public Call<BaseResponse> getThisCall() {
|
return thisCall;
|
}
|
|
public void setThisCall(Call<BaseResponse> thisCall) {
|
this.thisCall = thisCall;
|
}
|
|
public int getNumber() {
|
return number;
|
}
|
|
public void setNumber(int number) {
|
this.number = number;
|
}
|
|
public UplodFileState() {
|
|
}
|
|
public int getState() {
|
return state;
|
}
|
|
public void setState(int state) {
|
this.state = state;
|
}
|
|
public String getFilePath() {
|
return filePath;
|
}
|
|
public void setFilePath(String filePath) {
|
this.filePath = filePath;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getWebPath() {
|
return webPath;
|
}
|
|
public void setWebPath(String webPath) {
|
this.webPath = webPath;
|
}
|
}
|