Project

General

Profile

Statistics
| Revision:

root / trunk / src / java / org / lidar / db / AuthTokens.java

History | View | Annotate | Download (1014 Bytes)

1
package org.lidar.db;
2

    
3
import java.io.Serializable;
4
import java.util.Date;
5

    
6
/**
7
 *
8
 * @author Andrej Cimpersek
9
 */
10
public class AuthTokens implements Serializable {
11

    
12
    private Integer id;
13
    private String token;
14
    private Date access;
15
    private String ip;
16

    
17
    public AuthTokens() {
18
    }
19

    
20
    public AuthTokens(Integer id, String token, Date access, String ip) {
21
        this.id = id;
22
        this.token = token;
23
        this.access = access;
24
        this.ip = ip;
25
    }
26

    
27
    public Integer getId() {
28
        return this.id;
29
    }
30

    
31
    public void setId(Integer id) {
32
        this.id = id;
33
    }
34

    
35
    public String getToken() {
36
        return this.token;
37
    }
38

    
39
    public void setToken(String token) {
40
        this.token = token;
41
    }
42

    
43
    public Date getAccess() {
44
        return this.access;
45
    }
46

    
47
    public void setAccess(Date access) {
48
        this.access = access;
49
    }
50

    
51
    public String getIp() {
52
        return this.ip;
53
    }
54

    
55
    public void setIp(String ip) {
56
        this.ip = ip;
57
    }
58
}