package com.seer.teach.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 公众号账号表
 * </p>
 *
 * @author Wang
 * @since 2025-08-02 15:45:13
 */
@Getter
@Setter
@TableName("mp_account")
@Schema(name = "MpAccountEntity对象", description = "公众号账号表")
public class MpAccountEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "公众号名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "公众号账号")
    @TableField("`account`")
    private String account;

    @Schema(description = "公众号appid")
    @TableField("app_id")
    private String appId;

    @Schema(description = "公众号密钥")
    @TableField("app_secret")
    private String appSecret;

    @Schema(description = "公众号url")
    @TableField("url")
    private String url;

    @Schema(description = "公众号token")
    @TableField("token")
    private String token;

    @Schema(description = "加密密钥")
    @TableField("aes_key")
    private String aesKey;

    @Schema(description = "二维码图片URL")
    @TableField("qr_code_url")
    private String qrCodeUrl;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

}