aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/lacolaco/smileessence/entity/Account.java
blob: 0faf0916deba76fba49664a50ceea245ced19ff8 (plain)
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
package net.lacolaco.smileessence.entity;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

@Table(name = "Accounts")
public class Account extends Model
{

    @Column(name = "Token", notNull = true)
    public String accessToken;
    @Column(name = "Secret", notNull = true)
    public String accessSecret;

    public Account()
    {
        super();
    }

    public Account(String token, String tokenSecret)
    {
        super();
        this.accessToken = token;
        this.accessSecret = tokenSecret;
    }
}