-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from makevook/issue/62
feat: 약관 정보 삭제 및 테스트 추가, dagger version up
- Loading branch information
Showing
27 changed files
with
277 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
api/src/main/java/vook/server/api/app/terms/TermsService.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
api/src/main/java/vook/server/api/app/terms/repo/TermsRepository.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 3 additions & 22 deletions
25
api/src/main/java/vook/server/api/app/user/data/RegisterCommand.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,23 @@ | ||
package vook.server.api.app.user.data; | ||
|
||
import lombok.Getter; | ||
import vook.server.api.model.terms.Terms; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
public class RegisterCommand { | ||
|
||
private String userUid; | ||
private String nickname; | ||
private List<TermsAgree> termsAgrees; | ||
private boolean marketingEmailOptIn; | ||
|
||
public static RegisterCommand of( | ||
String userUid, | ||
String nickname, | ||
List<TermsAgree> termsAgrees | ||
boolean marketingEmailOptIn | ||
) { | ||
RegisterCommand command = new RegisterCommand(); | ||
command.userUid = userUid; | ||
command.nickname = nickname; | ||
command.termsAgrees = termsAgrees; | ||
command.marketingEmailOptIn = marketingEmailOptIn; | ||
return command; | ||
} | ||
|
||
@Getter | ||
public static class TermsAgree { | ||
private Terms terms; | ||
private Boolean agree; | ||
|
||
public static TermsAgree of( | ||
Terms terms, | ||
Boolean agree | ||
) { | ||
TermsAgree result = new TermsAgree(); | ||
result.terms = terms; | ||
result.agree = agree; | ||
return result; | ||
} | ||
} | ||
} |
7 changes: 0 additions & 7 deletions
7
api/src/main/java/vook/server/api/app/user/repo/UserTermsAgreeRepository.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
api/src/main/java/vook/server/api/model/user/UserTermsAgree.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.