package com.playlet.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.playlet.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.playlet.common.annotation.Excel;

/**
 * 公众号用户对象 playlet_public_user
 *
 * @author ruoyi
 * @date 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "playlet_public_user")
@ApiModel(value = "公众号用户")
public class PlayletPublicUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 公众号id */
    @Excel(name = "公众号id")
    private Long publicId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String name;

    /** 微信unionId */
    @Excel(name = "微信unionId")
    private String unionId;

    @Excel(name = "微信openId")
    private String openId;

    /** 头像 */
    @Excel(name = "头像")
    private String imgUrl;
    /** 是否关注公众号 0.否 1.是 */
    private String watchPublic;

}
