Project

General

Profile

1
package eu.dnetlib.uoaorcidservice.entities;
2

    
3
import com.fasterxml.jackson.annotation.JsonProperty;
4
import org.springframework.data.annotation.Id;
5

    
6
import java.util.Date;
7

    
8
public class UserTokens {
9
    @Id
10
    //@JsonProperty("_id")
11
    //private String id;
12
    @JsonProperty("aaiId")
13
    private String aaiId;
14
    private String orcid;
15
    private String name;
16
    private String access_token;
17
    private String token_type;
18
    private String refresh_token;
19
    private String expires_in;
20
    private String scope;
21
    private Date creationDate;
22

    
23

    
24
//    public String getId() {
25
//        return id;
26
//    }
27
//
28
//    public void setId(String id) {
29
//        this.id = id;
30
//    }
31

    
32
    public String getAaiId() {
33
        return aaiId;
34
    }
35

    
36
    public void setAaiId(String aaiId) {
37
        this.aaiId = aaiId;
38
    }
39

    
40
    public String getOrcid() {
41
        return orcid;
42
    }
43

    
44
    public void setOrcid(String orcid) {
45
        this.orcid = orcid;
46
    }
47

    
48
    public String getAccessToken() {
49
        return access_token;
50
    }
51

    
52
    public void setAccessToken(String access_token) {
53
        this.access_token = access_token;
54
    }
55

    
56
    public String getTokenType() {
57
        return token_type;
58
    }
59

    
60
    public void setTokenType(String token_type) {
61
        this.token_type = token_type;
62
    }
63

    
64
    public String getRefreshToken() {
65
        return refresh_token;
66
    }
67

    
68
    public void setRefreshToken(String refresh_token) {
69
        this.refresh_token = refresh_token;
70
    }
71

    
72
    public String getExpiresIn() {
73
        return expires_in;
74
    }
75

    
76
    public void setExpiresIn(String expires_in) {
77
        this.expires_in = expires_in;
78
    }
79

    
80
    public String getScope() {
81
        return scope;
82
    }
83

    
84
    public void setScope(String scope) {
85
        this.scope = scope;
86
    }
87

    
88
    public String getName() {
89
        return name;
90
    }
91

    
92
    public void setName(String name) {
93
        this.name = name;
94
    }
95

    
96
    public Date getCreationDate() {
97
        return creationDate;
98
    }
99

    
100
    public void setCreationDate(Date creationDate) {
101
        this.creationDate = creationDate;
102
    }
103
}
(2-2/3)