package cn.iselab.mooctest.user.model;

import lombok.Data;

import javax.persistence.*;

/**
 * @Description: 第三方登录
 * @Author: xuexb
 * @CreateDate: 19-1-3$ 下午4:50$
 */
@Data
@Entity
@Table(name = "user_third_party")
public class UserThirdParty {

    @Id
    @GeneratedValue
    private Long id;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "third_party_identity")
    private String thirdPartyIdentity;

    @Column(name = "type")
    private String type;

    @Column(name = "is_delete")
    private int isDelete;

}
