package com.yeejoin.amos.boot.module.ymt.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 微信公众号openid与电话号对应关系表
 *
 * @author system_generator
 * @date 2021-09-22
 */
@Data
@Accessors(chain = true)
@TableName("tz_wechat_relation")
public class WechatRelation  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sequence_nbr", type = IdType.ID_WORKER)
    protected Long sequenceNbr;

    /**
     * 微信公众号openid
     */
	@TableField("open_id")
    private String openId;

    /**
     * 系统注册账户电话号
     */
	@TableField("phone")
    private String phone;


    /**
     * amos 用户id
     */
    @TableField("user_id")
    private String userId;

}
