| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -16,6 +18,8 @@ import java.util.List; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaDomainAction implements Serializable { | public class WxMaDomainAction implements Serializable { | ||||
| private static final long serialVersionUID = -2898601966852935708L; | private static final long serialVersionUID = -2898601966852935708L; | ||||
| /** | /** | ||||
| @@ -9,7 +9,6 @@ import java.util.List; | |||||
| @Data | @Data | ||||
| public class WxMaPluginListResult implements Serializable { | public class WxMaPluginListResult implements Serializable { | ||||
| private static final long serialVersionUID = -5898572369543593656L; | private static final long serialVersionUID = -5898572369543593656L; | ||||
| @SerializedName("plugin_list") | @SerializedName("plugin_list") | ||||
| @@ -1,8 +1,10 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.code; | package cn.binarywang.wx.miniapp.bean.code; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -14,6 +16,8 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCategory implements Serializable { | public class WxMaCategory implements Serializable { | ||||
| private static final long serialVersionUID = -7663757440028175135L; | private static final long serialVersionUID = -7663757440028175135L; | ||||
| /** | /** | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.code; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -15,6 +17,8 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCodeAuditStatus implements Serializable { | public class WxMaCodeAuditStatus implements Serializable { | ||||
| private static final long serialVersionUID = 4655119308692217268L; | private static final long serialVersionUID = 4655119308692217268L; | ||||
| /** | /** | ||||
| @@ -1,8 +1,10 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.code; | package cn.binarywang.wx.miniapp.bean.code; | ||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -14,6 +16,8 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCodeCommitRequest implements Serializable { | public class WxMaCodeCommitRequest implements Serializable { | ||||
| private static final long serialVersionUID = 7495157056049312108L; | private static final long serialVersionUID = 7495157056049312108L; | ||||
| /** | /** | ||||
| @@ -4,8 +4,10 @@ import java.io.Serializable; | |||||
| import java.util.List; | import java.util.List; | ||||
| import java.util.Map; | import java.util.Map; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| /** | /** | ||||
| * 上传代码需要用到的第三方自定义的配置 | * 上传代码需要用到的第三方自定义的配置 | ||||
| @@ -16,6 +18,8 @@ import lombok.Data; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCodeExtConfig implements Serializable { | public class WxMaCodeExtConfig implements Serializable { | ||||
| private static final long serialVersionUID = -7666911367458178753L; | private static final long serialVersionUID = -7666911367458178753L; | ||||
| /** | /** | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.code; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -16,6 +18,8 @@ import java.util.List; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCodeSubmitAuditRequest implements Serializable { | public class WxMaCodeSubmitAuditRequest implements Serializable { | ||||
| private static final long serialVersionUID = 8854979405505241314L; | private static final long serialVersionUID = 8854979405505241314L; | ||||
| /** | /** | ||||
| @@ -1,7 +1,9 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.code; | package cn.binarywang.wx.miniapp.bean.code; | ||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.util.Map; | import java.util.Map; | ||||
| @@ -12,6 +14,8 @@ import java.util.Map; | |||||
| * @since 2018-04-26 19:45 | * @since 2018-04-26 19:45 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaCodeVersionDistribution { | public class WxMaCodeVersionDistribution { | ||||
| /** | /** | ||||
| * 当前版本 | * 当前版本 | ||||
| @@ -5,7 +5,9 @@ import com.google.gson.JsonObject; | |||||
| import com.google.gson.JsonParser; | import com.google.gson.JsonParser; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -18,6 +20,8 @@ import java.util.List; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressAccount implements Serializable { | public class WxMaExpressAccount implements Serializable { | ||||
| private static final JsonParser JSON_PARSER = new JsonParser(); | private static final JsonParser JSON_PARSER = new JsonParser(); | ||||
| @@ -5,7 +5,9 @@ import com.google.gson.JsonObject; | |||||
| import com.google.gson.JsonParser; | import com.google.gson.JsonParser; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -18,6 +20,8 @@ import java.util.List; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressDelivery implements Serializable { | public class WxMaExpressDelivery implements Serializable { | ||||
| private static final JsonParser JSON_PARSER = new JsonParser(); | private static final JsonParser JSON_PARSER = new JsonParser(); | ||||
| private static final long serialVersionUID = -8394544895730223810L; | private static final long serialVersionUID = -8394544895730223810L; | ||||
| @@ -2,7 +2,9 @@ package cn.binarywang.wx.miniapp.bean.express; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -13,6 +15,8 @@ import java.util.List; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressPath implements Serializable { | public class WxMaExpressPath implements Serializable { | ||||
| private static final long serialVersionUID = 5643624677715536605L; | private static final long serialVersionUID = 5643624677715536605L; | ||||
| @@ -3,7 +3,9 @@ package cn.binarywang.wx.miniapp.bean.express; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.JsonParser; | import com.google.gson.JsonParser; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -16,6 +18,8 @@ import java.util.List; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressPrinter implements Serializable { | public class WxMaExpressPrinter implements Serializable { | ||||
| private static final JsonParser JSON_PARSER = new JsonParser(); | private static final JsonParser JSON_PARSER = new JsonParser(); | ||||
| @@ -4,8 +4,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.bean.express.*; | import cn.binarywang.wx.miniapp.bean.express.*; | ||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -18,6 +20,8 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressAddOrderRequest implements Serializable { | public class WxMaExpressAddOrderRequest implements Serializable { | ||||
| private static final long serialVersionUID = -7538739003766268386L; | private static final long serialVersionUID = -7538739003766268386L; | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -16,8 +18,9 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressBindAccountRequest implements Serializable { | public class WxMaExpressBindAccountRequest implements Serializable { | ||||
| private static final long serialVersionUID = 3868003945297939946L; | private static final long serialVersionUID = 3868003945297939946L; | ||||
| /** | /** | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -16,8 +18,9 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressGetOrderRequest implements Serializable { | public class WxMaExpressGetOrderRequest implements Serializable { | ||||
| private static final long serialVersionUID = 8239315305577639778L; | private static final long serialVersionUID = 8239315305577639778L; | ||||
| /** | /** | ||||
| @@ -1,7 +1,9 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.express.request; | package cn.binarywang.wx.miniapp.bean.express.request; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -12,8 +14,9 @@ import java.util.List; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderCargo implements Serializable { | public class WxMaExpressOrderCargo implements Serializable { | ||||
| private static final long serialVersionUID = 6642536671375396150L; | private static final long serialVersionUID = 6642536671375396150L; | ||||
| /** | /** | ||||
| @@ -1,6 +1,8 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.express.request; | package cn.binarywang.wx.miniapp.bean.express.request; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -10,8 +12,9 @@ import java.io.Serializable; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderCargoDetail implements Serializable { | public class WxMaExpressOrderCargoDetail implements Serializable { | ||||
| private static final long serialVersionUID = 5988620921216969796L; | private static final long serialVersionUID = 5988620921216969796L; | ||||
| /** | /** | ||||
| @@ -3,8 +3,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.constant.WxMaConstants; | import cn.binarywang.wx.miniapp.constant.WxMaConstants; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -15,8 +17,9 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderInsured implements Serializable { | public class WxMaExpressOrderInsured implements Serializable { | ||||
| private static final long serialVersionUID = -8636857630937445422L; | private static final long serialVersionUID = -8636857630937445422L; | ||||
| /** | /** | ||||
| @@ -2,7 +2,9 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -12,8 +14,9 @@ import java.io.Serializable; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderPerson implements Serializable { | public class WxMaExpressOrderPerson implements Serializable { | ||||
| private static final long serialVersionUID = -7816060207882761506L; | private static final long serialVersionUID = -7816060207882761506L; | ||||
| /** | /** | ||||
| @@ -1,7 +1,9 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.express.request; | package cn.binarywang.wx.miniapp.bean.express.request; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -11,8 +13,9 @@ import java.io.Serializable; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderShop implements Serializable { | public class WxMaExpressOrderShop implements Serializable { | ||||
| private static final long serialVersionUID = 7256509453502211830L; | private static final long serialVersionUID = 7256509453502211830L; | ||||
| /** | /** | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -16,8 +18,9 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressPrinterUpdateRequest implements Serializable { | public class WxMaExpressPrinterUpdateRequest implements Serializable { | ||||
| private static final long serialVersionUID = 9119040050963924127L; | private static final long serialVersionUID = 9119040050963924127L; | ||||
| /** | /** | ||||
| @@ -2,8 +2,10 @@ package cn.binarywang.wx.miniapp.bean.express.request; | |||||
| import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Builder; | import lombok.Builder; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| @@ -16,8 +18,9 @@ import java.io.Serializable; | |||||
| */ | */ | ||||
| @Data | @Data | ||||
| @Builder | @Builder | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressTestUpdateOrderRequest implements Serializable { | public class WxMaExpressTestUpdateOrderRequest implements Serializable { | ||||
| private static final long serialVersionUID = -3701602332580704140L; | private static final long serialVersionUID = -3701602332580704140L; | ||||
| /** | /** | ||||
| @@ -5,7 +5,9 @@ import com.google.gson.JsonObject; | |||||
| import com.google.gson.JsonParser; | import com.google.gson.JsonParser; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| @@ -19,6 +21,8 @@ import java.util.Map; | |||||
| * @since 2019-11-26 | * @since 2019-11-26 | ||||
| */ | */ | ||||
| @Data | @Data | ||||
| @NoArgsConstructor | |||||
| @AllArgsConstructor | |||||
| public class WxMaExpressOrderInfoResult implements Serializable { | public class WxMaExpressOrderInfoResult implements Serializable { | ||||
| private static final JsonParser JSON_PARSER = new JsonParser(); | private static final JsonParser JSON_PARSER = new JsonParser(); | ||||
| private static final long serialVersionUID = -9166603059965942285L; | private static final long serialVersionUID = -9166603059965942285L; | ||||
| @@ -1,11 +1,16 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.template; | package cn.binarywang.wx.miniapp.bean.template; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import me.chanjar.weixin.common.util.json.WxGsonBuilder; | import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| /** | |||||
| * @author ArBing | |||||
| */ | |||||
| @Data | @Data | ||||
| public class WxMaPubTemplateTitleListResult implements Serializable { | public class WxMaPubTemplateTitleListResult implements Serializable { | ||||
| private static final long serialVersionUID = -7718911668757837527L; | private static final long serialVersionUID = -7718911668757837527L; | ||||
| @@ -1,20 +1,24 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.template; | package cn.binarywang.wx.miniapp.bean.template; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import me.chanjar.weixin.common.util.json.WxGsonBuilder; | import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| /** | |||||
| * @author ArBing | |||||
| */ | |||||
| @Data | @Data | ||||
| public class WxMaTemplateAddResult implements Serializable{ | |||||
| public class WxMaTemplateAddResult implements Serializable { | |||||
| private static final long serialVersionUID = 872250961973834465L; | private static final long serialVersionUID = 872250961973834465L; | ||||
| @SerializedName("template_id") | @SerializedName("template_id") | ||||
| private String templateId; | private String templateId; | ||||
| public static WxMaTemplateAddResult fromJson(String json){ | |||||
| public static WxMaTemplateAddResult fromJson(String json) { | |||||
| return WxGsonBuilder.create().fromJson(json, WxMaTemplateAddResult.class); | return WxGsonBuilder.create().fromJson(json, WxMaTemplateAddResult.class); | ||||
| } | } | ||||
| } | } | ||||
| @@ -7,9 +7,11 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| /** | |||||
| * @author ArBing | |||||
| */ | |||||
| @Data | @Data | ||||
| public class WxMaTemplateLibraryGetResult implements Serializable{ | |||||
| public class WxMaTemplateLibraryGetResult implements Serializable { | |||||
| private static final long serialVersionUID = -190847592776636744L; | private static final long serialVersionUID = -190847592776636744L; | ||||
| private String id; | private String id; | ||||
| private String title; | private String title; | ||||
| @@ -17,7 +19,7 @@ public class WxMaTemplateLibraryGetResult implements Serializable{ | |||||
| private List<KeywordInfo> keywordList; | private List<KeywordInfo> keywordList; | ||||
| @Data | @Data | ||||
| public static class KeywordInfo{ | |||||
| public static class KeywordInfo { | |||||
| @SerializedName("keyword_id") | @SerializedName("keyword_id") | ||||
| private int keywordId; | private int keywordId; | ||||
| @@ -25,7 +27,7 @@ public class WxMaTemplateLibraryGetResult implements Serializable{ | |||||
| private String example; | private String example; | ||||
| } | } | ||||
| public static WxMaTemplateLibraryGetResult fromJson(String json){ | |||||
| public static WxMaTemplateLibraryGetResult fromJson(String json) { | |||||
| return WxGsonBuilder.create().fromJson(json, WxMaTemplateLibraryGetResult.class); | return WxGsonBuilder.create().fromJson(json, WxMaTemplateLibraryGetResult.class); | ||||
| } | } | ||||
| } | } | ||||
| @@ -1,12 +1,17 @@ | |||||
| package cn.binarywang.wx.miniapp.bean.template; | package cn.binarywang.wx.miniapp.bean.template; | ||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import lombok.AllArgsConstructor; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | |||||
| import me.chanjar.weixin.common.util.json.WxGsonBuilder; | import me.chanjar.weixin.common.util.json.WxGsonBuilder; | ||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| /** | |||||
| * @author ArBing | |||||
| */ | |||||
| @Data | @Data | ||||
| public class WxMaTemplateLibraryListResult implements Serializable{ | public class WxMaTemplateLibraryListResult implements Serializable{ | ||||
| private static final long serialVersionUID = -2780782521447602209L; | private static final long serialVersionUID = -2780782521447602209L; | ||||
| @@ -7,18 +7,20 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.util.List; | import java.util.List; | ||||
| /** | |||||
| * @author ArBing | |||||
| */ | |||||
| @Data | @Data | ||||
| public class WxMaTemplateListResult implements Serializable{ | |||||
| public class WxMaTemplateListResult implements Serializable { | |||||
| private static final long serialVersionUID = -7430535579782184537L; | private static final long serialVersionUID = -7430535579782184537L; | ||||
| private List<TemplateInfo> list; | private List<TemplateInfo> list; | ||||
| public static WxMaTemplateListResult fromJson(String json){ | |||||
| public static WxMaTemplateListResult fromJson(String json) { | |||||
| return WxGsonBuilder.create().fromJson(json, WxMaTemplateListResult.class); | return WxGsonBuilder.create().fromJson(json, WxMaTemplateListResult.class); | ||||
| } | } | ||||
| @Data | @Data | ||||
| public static class TemplateInfo{ | |||||
| public static class TemplateInfo { | |||||
| @SerializedName("template_id") | @SerializedName("template_id") | ||||
| private String templateId; | private String templateId; | ||||