-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 앨범 생성 및 권한 관리 구현 #17
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
cf385da
#14 feat: 앨범 생성 API 1차 구현
zyovn 24c4aae
#14 feat: 앨범 생성 이용 약관 동의 컬럼 추가
zyovn 9337f70
#14 style: albumData -> albumDate 오타 수정
zyovn 3cc12b8
#14 feat: 앨범 생성 예외 처리 코드 추가
zyovn 3caf308
#14 rename: userAlbum -> albumParticipant로 수정
zyovn ceb25dc
#14 remove: userAlbumRole 삭제
zyovn 778aa00
#14 fix: 성공 코드 수정
zyovn 36cc5e9
#14 docs: swagger 작성 및 dto 이름 변경
zyovn 5a5378f
#14 test: 앨범 코드 uuid v4, uuid v7 비교 벤치마크 테스트
zyovn 992c2cc
#14 feat: 사용자 앨범 생성 주 3개 제한 로직 추가
zyovn 877bf51
#14 fix: uuid v4 -> v7로 수정
zyovn 70f909d
#14 fix: 비교연산자 및 앨범 에러 코드 수정
zyovn c1e267a
#14 fix: 앨범 생성 response 수정
zyovn e8c8799
#14 docs: swagger server url 세분화
zyovn d384070
#14 feat: 앨범 썸네일 이미지 예외 케이스 추가
zyovn 47c5f00
#14 docs: 앨범 생성 request 행사 날짜 예시 수정
zyovn f26899c
#14 feat: 앨범 생성 행사 날짜 관련 예외 케이스 추가
zyovn 2881b47
#14 fix: 피드백 반영
zyovn 0760c57
#14 feat: 앨범 썸네일 이미지 -> 이모지로 수정
zyovn 3281c2d
#14 refactor: emoji -> themeEmoji로 수정
zyovn 08c241d
#14 fix: 피드백 반영
zyovn e76469f
#14 docs: swagger 수정
zyovn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
26 changes: 26 additions & 0 deletions
26
src/main/java/com/cheeeese/album/dto/request/AlbumCreationRequest.java
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| package com.cheeeese.album.dto.request; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
| import lombok.Builder; | ||
|
|
||
| import java.time.LocalDate; | ||
|
|
||
| @Builder | ||
| @Schema(description = "앨범 생성 API") | ||
| public record AlbumCreationRequest( | ||
| @Schema(description = "앨범 테마 이모지", example = "U+1F9C0") | ||
| String themeEmoji, | ||
|
|
||
| @Schema(description = "앨범 이름", example = "졸업식") | ||
| String title, | ||
|
|
||
| @Schema(description = "참여자 수", example = "64") | ||
| int participant, | ||
|
|
||
| @Schema(description = "행사 날짜", example = "2025-02-01") | ||
| LocalDate eventDate, | ||
|
|
||
| @Schema(description = "앨범 생성 필수 약관 동의", example = "true") | ||
| boolean isTermsAgreement | ||
| ) { | ||
| } |
26 changes: 26 additions & 0 deletions
26
src/main/java/com/cheeeese/album/dto/response/AlbumCreationResponse.java
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| package com.cheeeese.album.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
| import lombok.Builder; | ||
|
|
||
| import java.time.LocalDate; | ||
|
|
||
| @Builder | ||
zyovn marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| @Schema(description = "앨범 생성 API") | ||
| public record AlbumCreationResponse( | ||
| @Schema(description = "앨범 테마 이모지", example = "U+1F9C0") | ||
| String themeEmoji, | ||
|
|
||
| @Schema(description = "행사 이름", example = "큐시즘 MT") | ||
| String title, | ||
|
|
||
| @Schema(description = "행사 날짜", example = "2025.02.01") | ||
| LocalDate eventDate, | ||
|
|
||
| @Schema(description = "현재까지 업로드된 사진 수", example = "1") | ||
| int currentPhotoCnt, | ||
|
|
||
| @Schema(description = "앨범 코드", example = "786ccd09-5f22-4aa9-a32b-f62dd2e94cc8") | ||
| String code | ||
| ) { | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.