package com.gxwebsoft.common.system.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;

import java.io.Serializable;

/**
 * 访问凭证管理
 *
 * @author 科技小王子
 * @since 2023-05-16 19:19:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "微信公众号菜单按钮", description = "微信公众号菜单按钮")
@TableName("wx_official_menu_button")
public class WxOfficialButton implements Serializable {
  private static final long serialVersionUID = 1L;

  @Schema(description = "按钮名称")
  @TableField(exist = false)
  private String name;

  @Schema(description = "按钮类型")
  @TableField(exist = false)
  private String type;

  @Schema(description = "内容")
  @TableField(exist = false)
  private String key;

  @Schema(description = "子菜单")
  @TableField(exist = false)
  private List<WxOfficialButton> sub_button;

}
