doum
7 小时以前 36f691267e45ca2861bed663fdcf5f2efcefdfce
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
package com.doumee.core.jiandaoyun.model.file;
 
import org.apache.commons.lang3.StringUtils;
 
public class UploadTokenParam {
    private String appId;
    private String entryId;
    private String transactionId;
 
    public String getAppId() {
        return appId;
    }
 
    public void setAppId(String appId) {
        this.appId = appId;
    }
 
    public String getEntryId() {
        return entryId;
    }
 
    public void setEntryId(String entryId) {
        this.entryId = entryId;
    }
 
    public String getTransactionId() {
        return transactionId;
    }
 
    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
 
    public boolean isValid() {
        return StringUtils.isNotBlank(this.getAppId()) && StringUtils.isNotBlank(this.getEntryId())
                && StringUtils.isNotBlank(this.getTransactionId());
    }
 
 
    @Override
    public String toString() {
        return "UploadTokenParam{" +
                "appId='" + appId + '\'' +
                ", entryId='" + entryId + '\'' +
                ", transactionId='" + transactionId + '\'' +
                '}';
    }
}