package org.maxkey.entity;

import org.apache.mybatis.jpa.persistence.JpaBaseEntity;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "MXK_SOCIALS_ASSOCIATE")
public class SocialsAssociate extends JpaBaseEntity implements Serializable
{

    @Id
    @Column
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
    private String id;

    @Column
    private String provider;

    @Column
    private String userId;

    @Column
    private String username;

    @Column
    private String socialUserId;

    @Column
    private String socialUserInfo;

    @Column
    private String accessToken;

    @Column
    private String exAttribute;

    @Column
    private String createdDate;

    @Column
    private String updatedDate;

    public SocialsAssociate()
    {

    }

    public String getId()
    {
        return id;
    }

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

    public String getProvider()
    {
        return provider;
    }

    public void setProvider(String provider)
    {
        this.provider = provider;
    }

    public String getUserId()
    {
        return userId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getSocialUserId()
    {
        return socialUserId;
    }

    public void setSocialUserId(String socialUserId)
    {
        this.socialUserId = socialUserId;
    }

    public String getSocialUserInfo()
    {
        return socialUserInfo;
    }

    public void setSocialUserInfo(String socialUserInfo)
    {
        this.socialUserInfo = socialUserInfo;
    }

    public String getAccessToken()
    {
        return accessToken;
    }

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

    public String getExAttribute()
    {
        return exAttribute;
    }

    public void setExAttribute(String exAttribute)
    {
        this.exAttribute = exAttribute;
    }

    public String getCreatedDate()
    {
        return createdDate;
    }

    public void setCreatedDate(String createdDate)
    {
        this.createdDate = createdDate;
    }

    public String getUpdatedDate()
    {
        return updatedDate;
    }

    public void setUpdatedDate(String updatedDate)
    {
        this.updatedDate = updatedDate;
    }
}
