package org.dromara.elevator.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 电梯微信用户关联对象 e_elevator_wechat_user
 *
 * @author ym
 * @date 2024-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("e_elevator_wechat_user")
public class EElevatorWechatUser extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 微信公众号openId
     */
    private String mpOpenId;

    /**
     * 微信关联id
     */
    private String unionId;

    /**
     * 微信小程序openId
     */
    private String maOpenId;


}
