Visitar URL original
:art: 修复部分字段命名和类型 · linlinjava/WxJava@25cb090 · GitHub
Skip to content

Commit 25cb090

Browse files
committed
🎨 修复部分字段命名和类型
1 parent 382b4ce commit 25cb090

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/marketing/FavorStocksGetResult.java‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class FavorStocksGetResult implements Serializable {
3434
* 示例值:123456
3535
*/
3636
@SerializedName("stock_creator_mchid")
37-
private String stockCreatorMchid;
37+
private String stockCreatorMchId;
3838

3939
/**
4040
* 批次名称
@@ -67,7 +67,7 @@ public class FavorStocksGetResult implements Serializable {
6767
* 示例值:2015-05-20T13:29:35.120+08:00
6868
*/
6969
@SerializedName("create_time")
70-
private String create_time;
70+
private String createTime;
7171

7272
/**
7373
* 使用说明
@@ -160,7 +160,7 @@ public class FavorStocksGetResult implements Serializable {
160160
* 示例值:true
161161
*/
162162
@SerializedName("singleitem")
163-
private Boolean singleitem;
163+
private Boolean singleItem;
164164

165165
/**
166166
* 批次类型
@@ -186,7 +186,7 @@ public static class CutToMessage implements Serializable {
186186
* 示例值:100
187187
*/
188188
@SerializedName(value = "single_price_max")
189-
private Integer singlePriceMax;
189+
private Long singlePriceMax;
190190

191191
/**
192192
* 减至后的优惠单价
@@ -195,7 +195,7 @@ public static class CutToMessage implements Serializable {
195195
* 示例值:100
196196
*/
197197
@SerializedName(value = "cut_to_price")
198-
private Integer cutToPrice;
198+
private Long cutToPrice;
199199
}
200200

201201
@Data
@@ -210,7 +210,7 @@ public static class StockUseRule implements Serializable {
210210
* 示例值:100
211211
*/
212212
@SerializedName(value = "max_coupons")
213-
private Integer maxCoupons;
213+
private Long maxCoupons;
214214

215215
/**
216216
* 总预算
@@ -219,7 +219,7 @@ public static class StockUseRule implements Serializable {
219219
* 示例值:5000
220220
*/
221221
@SerializedName(value = "max_amount")
222-
private Integer maxAmount;
222+
private Long maxAmount;
223223

224224
/**
225225
* 单天发放上限金额
@@ -228,7 +228,7 @@ public static class StockUseRule implements Serializable {
228228
* 示例值:400
229229
*/
230230
@SerializedName(value = "max_amount_by_day")
231-
private Integer maxAmountByDay;
231+
private Long maxAmountByDay;
232232

233233
/**
234234
* 固定面额批次特定信息
@@ -245,7 +245,7 @@ public static class StockUseRule implements Serializable {
245245
* 示例值:3
246246
*/
247247
@SerializedName(value = "max_coupons_per_user")
248-
private Integer maxCouponsPerUser;
248+
private Long maxCouponsPerUser;
249249

250250
/**
251251
* 券类型
@@ -308,7 +308,7 @@ public static class FixedNormalCoupon implements Serializable {
308308
* 示例值:100
309309
*/
310310
@SerializedName(value = "coupon_amount")
311-
private Integer couponAmount;
311+
private Long couponAmount;
312312

313313
/**
314314
* 门槛
@@ -317,6 +317,6 @@ public static class FixedNormalCoupon implements Serializable {
317317
* 示例值:100
318318
*/
319319
@SerializedName(value = "transaction_minimum")
320-
private Integer transactionMinimum;
320+
private Long transactionMinimum;
321321
}
322322
}

0 commit comments

Comments
 (0)