package cn.com.countrygarden.bi.main.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

public class AccessToken {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;

    @Column(name = "access_token")
    private String accessToken;

    private String salt;

    @Column(name = "user_code")
    private String userCode;

    public int getId() {
        return this.id;
    }

    public String getAccessToken() {
        return this.accessToken;
    }

    public String getSalt() {
        return this.salt;
    }

    public String getUserCode() {
        return this.userCode;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
}
