Fixed model classes that lost data during fastjson serialization

This commit is contained in:
Kit.lee
2020-04-01 15:10:56 +08:00
parent fe3e396113
commit a2b23c237b
21 changed files with 21 additions and 21 deletions
@@ -81,7 +81,7 @@ public class PayPackage extends MerchantResult {
@JSONField(name = "goods_tag")
private String goodsTag;
protected PayPackage() {
public PayPackage() {
// jaxb required
}
@@ -33,7 +33,7 @@ public class PayRequest extends PayBaseInfo {
private String partnerId;
protected PayRequest() {
public PayRequest() {
// jaxb required
}
@@ -51,7 +51,7 @@ public class OrderCouponInfo implements Serializable {
@JSONField(name = "coupon_fee")
private Integer couponFee;
protected OrderCouponInfo() {
public OrderCouponInfo() {
// jaxb requried
}
@@ -42,7 +42,7 @@ public class RefundCouponInfo implements Serializable {
@JSONField(name = "coupon_refund_fee")
private Integer couponFee;
protected RefundCouponInfo() {
public RefundCouponInfo() {
// jaxb requried
}
@@ -64,7 +64,7 @@ public class CorpPayment extends MerchantResult {
@JSONField(name = "spbill_create_ip")
private String clientIp;
protected CorpPayment() {
public CorpPayment() {
// jaxb required
}
@@ -93,7 +93,7 @@ public class CorpPaymentRecord extends MerchantResult {
@XmlElement(name = "check_name_result")
private String checkNameResult;
protected CorpPaymentRecord() {
public CorpPaymentRecord() {
// jaxb required
}
@@ -43,7 +43,7 @@ public class CorpPaymentResult extends MerchantResult {
@XmlElement(name = "payment_time")
private String paymentTime;
protected CorpPaymentResult() {
public CorpPaymentResult() {
// jaxb required
}
@@ -27,7 +27,7 @@ public class MICROPayRequest extends Order implements MchPayRequest {
@JSONField(serialize = false)
private WeixinPayAccount paymentAccount;
protected MICROPayRequest() {
public MICROPayRequest() {
// jaxb required
}
@@ -90,7 +90,7 @@ public class MchPayPackage extends PayPackage {
@JSONField(name = "deposit")
private DepositType deposit;
protected MchPayPackage() {
public MchPayPackage() {
// jaxb required
}
@@ -75,7 +75,7 @@ public class MerchantResult extends XmlResult {
*/
private String recall;
protected MerchantResult() {
public MerchantResult() {
// jaxb required
}
@@ -34,7 +34,7 @@ public class NativePayNotify extends OpenIdResult {
@JSONField(name = "product_id")
private String productId;
protected NativePayNotify() {
public NativePayNotify() {
// jaxb required
}
@@ -30,7 +30,7 @@ public class NativePayResponse extends MerchantResult {
@JSONField(name = "prepay_id")
private String prepayId;
protected NativePayResponse() {
public NativePayResponse() {
// jaxb required
}
@@ -120,7 +120,7 @@ public class Order extends MerchantTradeResult {
@JSONField(name = "sub_is_subscribe")
private String subIsSubscribe;
protected Order() {
public Order() {
// jaxb required
}
@@ -39,7 +39,7 @@ public class PrePay extends MerchantResult {
@XmlElement(name = "mweb_url") })
private String payUrl;
protected PrePay() {
public PrePay() {
// jaxb required
}
@@ -110,7 +110,7 @@ public class Redpacket extends MerchantResult {
@JSONField(name = "risk_info")
private String risk;
protected Redpacket() {
public Redpacket() {
// jaxb required
}
@@ -54,7 +54,7 @@ public class RedpacketSendResult extends MerchantResult {
@JSONField(name = "send_listid")
private String sendListid;
protected RedpacketSendResult() {
public RedpacketSendResult() {
// jaxb required
}
@@ -29,7 +29,7 @@ import java.util.List;
public class RefundDetail implements Serializable {
private static final long serialVersionUID = 1402738803019986864L;
protected RefundDetail() {
public RefundDetail() {
// jaxb required
}
@@ -42,7 +42,7 @@ public class RefundRecord extends MerchantTradeResult {
@ListsuffixResult({ ".*(_\\d)$" })
private List<RefundDetail> refundList;
protected RefundRecord() {
public RefundRecord() {
// jaxb required
}
@@ -63,7 +63,7 @@ public class RefundResult extends MerchantTradeResult {
@ListsuffixResult({ ".*(_\\d)$" })
private List<RefundDetail> refundList;
protected RefundResult() {
public RefundResult() {
// jaxb required
}
@@ -87,7 +87,7 @@ public class SettlementRecord extends MerchantResult {
@JSONField(name = "poundage_fee")
private int poundageFee;
protected SettlementRecord() {
public SettlementRecord() {
// jaxb required
}