diff --git a/src/main/java/me/zhyd/oauth/model/AuthResponse.java b/src/main/java/me/zhyd/oauth/model/AuthResponse.java index ffe670eaf24927c9278c1e0ed84a9835534f6abd..a221df560e6cb584a2f0cc3307e515636fc7b2ca 100644 --- a/src/main/java/me/zhyd/oauth/model/AuthResponse.java +++ b/src/main/java/me/zhyd/oauth/model/AuthResponse.java @@ -14,6 +14,8 @@ import java.io.Serializable; @Getter @Setter @Builder +@NoArgsConstructor +@AllArgsConstructor public class AuthResponse implements Serializable { /** * 授权响应状态码 diff --git a/src/main/java/me/zhyd/oauth/model/AuthToken.java b/src/main/java/me/zhyd/oauth/model/AuthToken.java index 37a59a86d3e239963c772f9ca71cda8ca24b5e7f..99f8776d0059e1a793fe3429e60675d287dddcc6 100644 --- a/src/main/java/me/zhyd/oauth/model/AuthToken.java +++ b/src/main/java/me/zhyd/oauth/model/AuthToken.java @@ -1,8 +1,6 @@ package me.zhyd.oauth.model; -import lombok.Builder; -import lombok.Getter; -import lombok.Setter; +import lombok.*; import java.io.Serializable; @@ -15,6 +13,8 @@ import java.io.Serializable; @Getter @Setter @Builder +@NoArgsConstructor +@AllArgsConstructor public class AuthToken implements Serializable { private String accessToken; private int expireIn;