mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-05 05:07:46 +08:00
add serialVersionUID for the classes which implement Serializable interface
This commit is contained in:
parent
fb3a093be1
commit
dca8e307a0
@ -5,6 +5,7 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WxAccessToken implements Serializable {
|
||||
private static final long serialVersionUID = 8709719312922168909L;
|
||||
|
||||
private String accessToken;
|
||||
|
||||
|
@ -10,6 +10,8 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class WxCardApiSignature implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 158176707226975979L;
|
||||
|
||||
private String appId;
|
||||
|
||||
private String cardId;
|
||||
|
@ -6,6 +6,8 @@ import java.io.Serializable;
|
||||
* jspai signature
|
||||
*/
|
||||
public class WxJsapiSignature implements Serializable {
|
||||
private static final long serialVersionUID = -1116808193154384804L;
|
||||
|
||||
private String appid;
|
||||
|
||||
private String noncestr;
|
||||
|
@ -16,6 +16,8 @@ import java.util.List;
|
||||
*/
|
||||
public class WxMenu implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7083914585539687746L;
|
||||
|
||||
private List<WxMenuButton> buttons = new ArrayList<WxMenuButton>();
|
||||
|
||||
private WxMenuRule matchRule;
|
||||
|
@ -12,6 +12,8 @@ import java.io.Serializable;
|
||||
*/
|
||||
public class WxError implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7869786563361406291L;
|
||||
|
||||
private int errorCode;
|
||||
|
||||
private String errorMsg;
|
||||
|
@ -5,7 +5,8 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WxMediaUploadResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 330834334738622341L;
|
||||
|
||||
private String type;
|
||||
private String mediaId;
|
||||
private String thumbMediaId;
|
||||
|
Loading…
Reference in New Issue
Block a user