package me.chanjar.weixin.open.bean.ma;

import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

/**
 * @author yqx
 * @date 2018/9/13
 */
@Data
public class WxMaOpenTab implements Serializable {
  @NonNull
  private String pagePath;

  @NonNull
  private String text;
  private String iconPath;
  private String selectedIconPath;


  public WxMaOpenTab(String pagePath, String text) {
    this.pagePath = pagePath;
    this.text = text;
  }


}

@@ -343,17 +343,16 @@
 nPath;%0A%0A
-%0A
   public
@@ -364,16 +364,25 @@
 OpenTab(
+@NonNull 
 String p
@@ -389,16 +389,25 @@
 agePath,
+ @NonNull
  String 
@@ -472,10 +472,255 @@
 ;%0A  %7D%0A%0A%0A
+  public WxMaOpenTab(@NonNull String pagePath, @NonNull String text, String iconPath, String selectedIconPath) %7B%0A    this.pagePath = pagePath;%0A    this.text = text;%0A    this.iconPath = iconPath;%0A    this.selectedIconPath = selectedIconPath;%0A  %7D%0A
 %7D%0A

重构微信第三方小程序相关返回结果 (#1190)