Skip to content

Commit 4433127

Browse files
committed
🎨 格式化部分代码
1 parent b6b80a2 commit 4433127

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/CouponListParam.java

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,43 @@
33
import com.fasterxml.jackson.annotation.JsonInclude;
44
import com.fasterxml.jackson.annotation.JsonInclude.Include;
55
import com.fasterxml.jackson.annotation.JsonProperty;
6-
import java.io.Serializable;
76
import lombok.Data;
87
import lombok.NoArgsConstructor;
98

9+
import java.io.Serializable;
10+
1011
/**
12+
* 获取优惠券ID列表接口的请求参数
13+
*
1114
* @author <a href="https://github.com/lixize">Zeyes</a>
1215
*/
1316
@Data
1417
@NoArgsConstructor
1518
@JsonInclude(Include.NON_NULL)
1619
public class CouponListParam implements Serializable {
17-
1820
private static final long serialVersionUID = 7123047113279657365L;
19-
/** 优惠券状态 {@link me.chanjar.weixin.channel.enums.WxCouponStatus} */
21+
22+
/**
23+
* 优惠券状态 {@link me.chanjar.weixin.channel.enums.WxCouponStatus}
24+
*/
2025
@JsonProperty("status")
2126
private Integer status;
2227

23-
/** 第几页(最小填1) */
28+
/**
29+
* 第几页(最小填1)
30+
*/
2431
@JsonProperty("page")
2532
private Integer page;
2633

27-
/** 每页数量(不超过200) */
34+
/**
35+
* 每页数量(不超过200)
36+
*/
2837
@JsonProperty("page_size")
2938
private Integer pageSize;
3039

31-
/** 分页上下文 */
40+
/**
41+
* 分页上下文
42+
*/
3243
@JsonProperty("page_ctx")
3344
private String pageCtx;
3445
}

weixin-java-channel/src/main/java/me/chanjar/weixin/channel/bean/coupon/UserCouponListParam.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
*/
1212
@Data
1313
@NoArgsConstructor
14-
@EqualsAndHashCode
14+
@EqualsAndHashCode(callSuper = true)
1515
@JsonInclude(JsonInclude.Include.NON_NULL)
1616
public class UserCouponListParam extends CouponListParam {
17-
1817
private static final long serialVersionUID = -1056132009327357435L;
19-
/** openId */
18+
19+
/**
20+
* openId
21+
*/
2022
@JsonProperty("openid")
2123
private String openId;
2224
}

0 commit comments

Comments
 (0)