SmartUserChannel.java 1012 Bytes
package cn.com.glsx.smart.modules.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * <p>Description:
 * <p>Project: chejia-smart
 *
 * @author wbh
 * @date 2021-04-23
 */


/**
 * 车家智能第三方用户关系表
 */
@Data
@Table(name = "smart_user_channel")
public class SmartUserChannel {
    /**
     * 标识ID
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private Long id;

    /**
     * 用户ID 关联smart_user_relation中id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 第三方平台标识 1涂鸦 2绿米
     */
    @Column(name = "channel")
    private Byte channel;

    /**
     * 第三方平台用户id
     */
    @Column(name = "third_id")
    private String thirdId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
}