mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 09:38:19 +08:00
#977 WxMaKefuMessage子类实现Serializable接口
This commit is contained in:
@ -41,20 +41,26 @@ public class WxMaKefuMessage implements Serializable {
|
|||||||
|
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public static class KfText {
|
public static class KfText implements Serializable {
|
||||||
|
private static final long serialVersionUID = 151122958720941270L;
|
||||||
|
|
||||||
private String content;
|
private String content;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public static class KfImage {
|
public static class KfImage implements Serializable {
|
||||||
|
private static final long serialVersionUID = -5409342945117300782L;
|
||||||
|
|
||||||
@SerializedName("media_id")
|
@SerializedName("media_id")
|
||||||
private String mediaId;
|
private String mediaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Builder
|
@Builder
|
||||||
public static class KfLink {
|
public static class KfLink implements Serializable {
|
||||||
|
private static final long serialVersionUID = -6728776817556127413L;
|
||||||
|
|
||||||
private String title;
|
private String title;
|
||||||
private String description;
|
private String description;
|
||||||
private String url;
|
private String url;
|
||||||
@ -65,7 +71,9 @@ public class WxMaKefuMessage implements Serializable {
|
|||||||
|
|
||||||
@Data
|
@Data
|
||||||
@Builder
|
@Builder
|
||||||
public static class KfMaPage {
|
public static class KfMaPage implements Serializable {
|
||||||
|
private static final long serialVersionUID = -5633492281871634466L;
|
||||||
|
|
||||||
private String title;
|
private String title;
|
||||||
|
|
||||||
@SerializedName("pagepath")
|
@SerializedName("pagepath")
|
||||||
|
|||||||
Reference in New Issue
Block a user