管灌系统巡查员智能手机App
zuoxiao
2024-12-02 3ac1a2854f23f61c61e537ea6a7add0c9a70438e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.dayu.pipirrapp.bean.net;
 
import java.io.File;
 
/**
 * Copyright (C), 2023,
 * Author: zuo
 * Date: 2023-04-15 8:15
 * Description:
 */
public class UplodFileState {
    int state = 0;//0正在上传 1上传完成 2上传失败
    File file;//上传的文件
    String url;//上传文件后返回的url
    int number;//失败后重试的次数
 
    public int getNumber() {
        return number;
    }
 
    public void setNumber(int number) {
        this.number = number;
    }
 
    public UplodFileState() {
 
    }
 
    public UplodFileState(File file) {
        this.file = file;
    }
 
    public int getState() {
        return state;
    }
 
    public void setState(int state) {
        this.state = state;
    }
 
    public File getFile() {
        return file;
    }
 
    public void setFile(File file) {
        this.file = file;
    }
 
    public String getUrl() {
        return url;
    }
 
    public void setUrl(String url) {
        this.url = url;
    }
}