@@ -0,0 +1,2242 @@
+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 6:39:06 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_client_token%22)%0Apublic class OAuth2ClientToken implements Serializable %7B%0A%0A    @Id%0A    @Column(name = %22token_id%22, nullable = false)%0A    private String tokenId;%0A%0A    @Column(name = %22token%22)%0A    private byte%5B%5D token;%0A%0A    @Column(name = %22authentication_id%22)%0A    private String authenticationId;%0A%0A    @Column(name = %22user_name%22)%0A    private String userName;%0A%0A    @Column(name = %22client_id%22)%0A    private String clientId;%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 authenticationId%0A     */%0A    public String getAuthenticationId() %7B%0A        return authenticationId;%0A    %7D%0A%0A    /**%0A     * @param authenticationId the authenticationId to set%0A     */%0A    public void setAuthenticationId(String authenticationId) %7B%0A        this.authenticationId = authenticationId;%0A    %7D%0A%0A    /**%0A     * @return the userName%0A     */%0A    public String getUserName() %7B%0A        return userName;%0A    %7D%0A%0A    /**%0A     * @param userName the userName to set%0A     */%0A    public void setUserName(String userName) %7B%0A        this.userName = userName;%0A    %7D%0A%0A    /**%0A     * @return the clientId%0A     */%0A    public String getClientId() %7B%0A        return clientId;%0A    %7D%0A%0A    /**%0A     * @param clientId the clientId to set%0A     */%0A    public void setClientId(String clientId) %7B%0A        this.clientId = clientId;%0A    %7D%0A%7D%0A

add domain OAuth2 client token