Skip to content

Commit

Permalink
🎨 #1485 小程序部分请求类增加无参构造方法
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed Apr 4, 2020
1 parent 96b370e commit fb3ed0b
Show file tree
Hide file tree
Showing 28 changed files with 117 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -16,6 +18,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaDomainAction implements Serializable {
private static final long serialVersionUID = -2898601966852935708L;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

@Data
public class WxMaPluginListResult implements Serializable {

private static final long serialVersionUID = -5898572369543593656L;

@SerializedName("plugin_list")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package cn.binarywang.wx.miniapp.bean.code;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -14,6 +16,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCategory implements Serializable {
private static final long serialVersionUID = -7663757440028175135L;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -15,6 +17,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCodeAuditStatus implements Serializable {
private static final long serialVersionUID = 4655119308692217268L;
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package cn.binarywang.wx.miniapp.bean.code;

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -14,6 +16,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCodeCommitRequest implements Serializable {
private static final long serialVersionUID = 7495157056049312108L;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import java.util.List;
import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 上传代码需要用到的第三方自定义的配置
Expand All @@ -16,6 +18,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCodeExtConfig implements Serializable {
private static final long serialVersionUID = -7666911367458178753L;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -16,6 +18,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCodeSubmitAuditRequest implements Serializable {
private static final long serialVersionUID = 8854979405505241314L;
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package cn.binarywang.wx.miniapp.bean.code;

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

Expand All @@ -12,6 +14,8 @@
* @since 2018-04-26 19:45
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaCodeVersionDistribution {
/**
* 当前版本
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
import com.google.gson.JsonParser;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -18,6 +20,8 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressAccount implements Serializable {

private static final JsonParser JSON_PARSER = new JsonParser();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
import com.google.gson.JsonParser;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -18,6 +20,8 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressDelivery implements Serializable {
private static final JsonParser JSON_PARSER = new JsonParser();
private static final long serialVersionUID = -8394544895730223810L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -13,6 +15,8 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressPath implements Serializable {

private static final long serialVersionUID = 5643624677715536605L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.JsonParser;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -16,6 +18,8 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressPrinter implements Serializable {

private static final JsonParser JSON_PARSER = new JsonParser();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
import cn.binarywang.wx.miniapp.bean.express.*;
import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -18,6 +20,8 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressAddOrderRequest implements Serializable {

private static final long serialVersionUID = -7538739003766268386L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -16,8 +18,9 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressBindAccountRequest implements Serializable {

private static final long serialVersionUID = 3868003945297939946L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -16,8 +18,9 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressGetOrderRequest implements Serializable {

private static final long serialVersionUID = 8239315305577639778L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package cn.binarywang.wx.miniapp.bean.express.request;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
Expand All @@ -12,8 +14,9 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressOrderCargo implements Serializable {

private static final long serialVersionUID = 6642536671375396150L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package cn.binarywang.wx.miniapp.bean.express.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -10,8 +12,9 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressOrderCargoDetail implements Serializable {

private static final long serialVersionUID = 5988620921216969796L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

import cn.binarywang.wx.miniapp.constant.WxMaConstants;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -15,8 +17,9 @@
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressOrderInsured implements Serializable {

private static final long serialVersionUID = -8636857630937445422L;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@


import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -12,8 +14,9 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressOrderPerson implements Serializable {

private static final long serialVersionUID = -7816060207882761506L;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package cn.binarywang.wx.miniapp.bean.express.request;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

Expand All @@ -11,8 +13,9 @@
* @since 2019-11-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxMaExpressOrderShop implements Serializable {

private static final long serialVersionUID = 7256509453502211830L;

/**
Expand Down
Loading

0 comments on commit fb3ed0b

Please sign in to comment.