-
Notifications
You must be signed in to change notification settings - Fork 1
[Feat] #609 솝탬프 테스트 코드 작성 #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
d246ea1
dd7d027
ea777c6
3886b9c
1389e16
164a9ca
1e263b9
9ea0a73
ac21f26
a9ca767
bb3a25e
62c2da8
27e6884
c1c4717
70a45cb
e590a8c
0363f18
9841d43
f3bcab4
fec8b3b
63bab17
f468456
9f5afdb
9c48d63
7ddf250
a04a57b
1256f10
17c9a63
c2a5674
9b9dce8
0e2abb1
aca1b76
f05bedb
e7858a7
7ee548d
7d133e6
7c3c371
3d43c31
5b85118
c9d5cbd
484e6ef
52e5b28
7e858dd
27d43ad
bcd096c
ccf5ac1
94e6281
9c105f0
2339409
1abdb64
7af650c
bb37bfe
eb5b46d
bc598a7
d77d9f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,5 +24,17 @@ public static class Stamp { | |
| private String activityDate; | ||
| private LocalDateTime createdAt; | ||
| private LocalDateTime updatedAt; | ||
|
|
||
| public static Stamp from(org.sopt.app.domain.entity.soptamp.Stamp stamp) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
의도된 설계가 아니라면, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이게 아마 Stamp 클래스명이 중복으로 사용돼서 컴파일 시 오류가 발생할거에요... 저희 클래스명이 살짝 중구난방이어서... 지금 보시면 리턴 타입도 Stamp고 파라미터 타입도 Stamp인데 둘의 타입이 달라서요.... |
||
| return StampInfo.Stamp.builder() | ||
| .id(stamp.getId()) | ||
| .contents(stamp.getContents()) | ||
| .images(stamp.getImages()) | ||
| .activityDate(stamp.getActivityDate()) | ||
| .missionId(stamp.getMissionId()) | ||
| .createdAt(stamp.getCreatedAt()) | ||
| .updatedAt(stamp.getUpdatedAt()) | ||
| .build(); | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
꼼꼼한 변수명 수정 좋네요 👍🏻