@@ -0,0 +1,1618 @@
+package com.rizki.mufrizal.spring.oauth2.custom.domain;%0A%0Aimport java.io.Serializable;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.GenerationType;%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:12:25 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_code%22)%0Apublic class OAuth2Code implements Serializable %7B%0A%0A    @Id%0A    @Column(name = %22id%22)%0A    @GeneratedValue(strategy = GenerationType.AUTO)%0A    private Integer id;%0A%0A    @Column(name = %22code%22)%0A    private String code;%0A%0A    @Column(name = %22authentication%22)%0A    private byte%5B%5D authentication;%0A%0A    /**%0A     * @return the id%0A     */%0A    public Integer getId() %7B%0A        return id;%0A    %7D%0A%0A    /**%0A     * @param id the id to set%0A     */%0A    public void setId(Integer id) %7B%0A        this.id = id;%0A    %7D%0A%0A    /**%0A     * @return the code%0A     */%0A    public String getCode() %7B%0A        return code;%0A    %7D%0A%0A    /**%0A     * @param code the code to set%0A     */%0A    public void setCode(String code) %7B%0A        this.code = code;%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%7D%0A

add domain OAuth2 code