|
3 | 3 | import com.google.gson.annotations.SerializedName;
|
4 | 4 | import lombok.Data;
|
5 | 5 |
|
| 6 | +import java.io.Serializable; |
6 | 7 | import java.util.List;
|
7 | 8 |
|
8 | 9 | /**
|
9 | 10 | * 二维码规则
|
10 | 11 | *
|
11 |
| - * <a href="https://github.com/hanwei59">hanwei59</a> |
| 12 | + * @author <a href="https://github.com/hanwei59">hanwei59</a> |
12 | 13 | */
|
13 | 14 | @Data
|
14 |
| -public class WxQrcodeJumpRule { |
15 |
| - |
16 |
| - //二维码规则 |
17 |
| - @SerializedName("prefix") |
18 |
| - private String prefix; |
19 |
| - |
20 |
| - //是否独占符合二维码前缀匹配规则的所有子规则:1为不占用,2为占用 |
21 |
| - //详细说明:https://mp.weixin.qq.com/debug/wxadoc/introduction/qrcode.html#前缀占用规则 |
22 |
| - @SerializedName("permit_sub_rule") |
23 |
| - private String permitSubRule; |
24 |
| - |
25 |
| - //小程序功能页面 |
26 |
| - @SerializedName("path") |
27 |
| - private String path; |
28 |
| - |
29 |
| - //测试范围: |
30 |
| - //1为开发版(配置只对开发者生效) |
31 |
| - //2为体验版(配置对管理员、体验者生效) |
32 |
| - //3为线上版本(配置对管理员、开发者和体验者生效) |
33 |
| - @SerializedName("open_version") |
34 |
| - private String openVersion; |
35 |
| - |
36 |
| - //测试链接(选填)可填写不多于5个用于测试的二维码完整链接,此链接必须符合已填写的二维码规则。 |
37 |
| - @SerializedName("debug_url") |
38 |
| - private List<String> debugUrl; |
39 |
| - |
40 |
| - //编辑标志位,0表示新增二维码规则,1表示修改已有二维码规则 |
41 |
| - @SerializedName("is_edit") |
42 |
| - private String isEdit; |
43 |
| - |
44 |
| - //发布标志位,1 表示未发布,2 表示已发布 |
45 |
| - @SerializedName("state") |
46 |
| - private String state; |
| 15 | +public class WxQrcodeJumpRule implements Serializable { |
| 16 | + private static final long serialVersionUID = -7139573923977433678L; |
| 17 | + |
| 18 | + /** |
| 19 | + * 二维码规则 |
| 20 | + */ |
| 21 | + @SerializedName("prefix") |
| 22 | + private String prefix; |
| 23 | + |
| 24 | + /** |
| 25 | + * 是否独占符合二维码前缀匹配规则的所有子规则:1为不占用,2为占用 |
| 26 | + * 详细说明:https://mp.weixin.qq.com/debug/wxadoc/introduction/qrcode.html#前缀占用规则 |
| 27 | + */ |
| 28 | + @SerializedName("permit_sub_rule") |
| 29 | + private String permitSubRule; |
| 30 | + |
| 31 | + /** |
| 32 | + * 小程序功能页面 |
| 33 | + */ |
| 34 | + @SerializedName("path") |
| 35 | + private String path; |
| 36 | + |
| 37 | + /** |
| 38 | + * 测试范围: |
| 39 | + * 1为开发版(配置只对开发者生效) |
| 40 | + * 2为体验版(配置对管理员、体验者生效) |
| 41 | + * 3为线上版本(配置对管理员、开发者和体验者生效) |
| 42 | + */ |
| 43 | + @SerializedName("open_version") |
| 44 | + private String openVersion; |
| 45 | + |
| 46 | + /** |
| 47 | + * 测试链接(选填)可填写不多于5个用于测试的二维码完整链接,此链接必须符合已填写的二维码规则。 |
| 48 | + */ |
| 49 | + @SerializedName("debug_url") |
| 50 | + private List<String> debugUrl; |
| 51 | + |
| 52 | + /** |
| 53 | + * 编辑标志位,0表示新增二维码规则,1表示修改已有二维码规则 |
| 54 | + */ |
| 55 | + @SerializedName("is_edit") |
| 56 | + private String isEdit; |
| 57 | + |
| 58 | + /** |
| 59 | + * 发布标志位,1 表示未发布,2 表示已发布 |
| 60 | + */ |
| 61 | + @SerializedName("state") |
| 62 | + private String state; |
47 | 63 | }
|
0 commit comments