@@ -0,0 +1,1566 @@
+package com.rizki.mufrizal.spring.oauth2.custom.domain;%0A%0Aimport java.io.Serializable;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.Table;%0A%0A/**%0A *%0A * @Author Rizki Mufrizal %3Cmufrizalrizki@gmail.com%3E%0A * @Web %3Chttps://RizkiMufrizal.github.io%3E%0A * @Since Feb 5, 2017%0A * @Time 7:10:10 PM%0A * @Encoding UTF-8%0A * @Project Spring-OAuth2-Custom%0A * @Package com.rizki.mufrizal.spring.oauth2.custom.domain%0A *%0A */%0A@Entity%0A@Table(name = %22oauth_refresh_token%22)%0Apublic class OAuth2RefreshToken implements Serializable %7B%0A%0A    @Id%0A    @Column(name = %22token_id%22)%0A    private String tokenId;%0A%0A    @Column(name = %22token%22)%0A    private byte%5B%5D token;%0A%0A    @Column(name = %22authentication%22)%0A    private byte%5B%5D authentication;%0A%0A    /**%0A     * @return the tokenId%0A     */%0A    public String getTokenId() %7B%0A        return tokenId;%0A    %7D%0A%0A    /**%0A     * @param tokenId the tokenId to set%0A     */%0A    public void setTokenId(String tokenId) %7B%0A        this.tokenId = tokenId;%0A    %7D%0A%0A    /**%0A     * @return the token%0A     */%0A    public byte%5B%5D getToken() %7B%0A        return token;%0A    %7D%0A%0A    /**%0A     * @param token the token to set%0A     */%0A    public void setToken(byte%5B%5D token) %7B%0A        this.token = token;%0A    %7D%0A%0A    /**%0A     * @return the authentication%0A     */%0A    public byte%5B%5D getAuthentication() %7B%0A        return authentication;%0A    %7D%0A%0A    /**%0A     * @param authentication the authentication to set%0A     */%0A    public void setAuthentication(byte%5B%5D authentication) %7B%0A        this.authentication = authentication;%0A    %7D%0A%0A%7D%0A

add domain OAuth2 refresh token