Skip to content
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

merge to main #233

Merged
merged 633 commits into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
633 commits
Select commit Hold shift + click to select a range
e220c72
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
14d42cf
chore: CasperBotResponseDto response ํŒจํ‚ค์ง€๋กœ ์ด๋™
k000927 Aug 22, 2024
c3173cb
refactor: LotteryEventParticipantResponseDto ํด๋ž˜์Šค ์ƒ์„ฑ
k000927 Aug 22, 2024
0b82375
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ƒ์„ฑ
k000927 Aug 22, 2024
f35a5b9
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
1533eee
feat: @Getter ์ ์šฉ
k000927 Aug 22, 2024
c7a42d6
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ ์šฉ
k000927 Aug 22, 2024
26343ea
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
ea758e7
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
f347bbd
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
7c9bfa3
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ ์šฉ
k000927 Aug 22, 2024
e1caefd
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
c7866e7
refactor: ์ถ”์ฒจ์ด๋ฒคํŠธ์™€ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ DTO ํŒจํ‚ค์ง€ ๋ถ„๋ฆฌ
k000927 Aug 22, 2024
d8c4f53
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” RushOptionResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
39f8f62
refactor: ํด๋ž˜์Šค ์ด๋ฆ„ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
8476dc2
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
134c6f1
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ 
k000927 Aug 22, 2024
fb65228
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
b8d8aa6
chore: ๋ฉ”์ธ์— ๋„์šธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” inMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
8f95f0e
feat: ๊ฒฐ๊ณผ์ฐฝ ๋„์šธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” inMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
b944a60
feat: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
7f4531c
feat: ๋ฉ”์ธ ํŽ˜์ด์ง•์š” ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
58e904a
feat: ์„ ์ฐฉ์ˆœ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withOptions ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
0010142
feat: ๋ฉ”์ธ ํŽ˜์ด์ง€์šฉ ์„ ํƒ์ง€ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withMainOption ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
741e24a
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
1f43e44
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
896ae50
refactor: ์ปจํŠธ๋กค๋Ÿฌ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
567911c
refactor: ํ…Œ์ŠคํŠธ์ฝ”๋“œ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
d4eaef6
feat: @Getter ์ ์šฉ
k000927 Aug 22, 2024
fb575a0
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
e955892
chore: RushEventListResponseDto ๊ตฌ์กฐ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
7eb6341
refactor: RushEventResponseDto withMain๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
7f6b69c
refactor: RushEventResponseDto withMain๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
c670a6a
refactor: RushEventResponseDto withMain ๋ฉ”์„œ๋“œ ์˜ค๋ฒ„๋กœ๋“œ
k000927 Aug 22, 2024
489ffc3
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
8970817
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
a361fbf
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
42acb0b
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
e99cab6
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
61d179c
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์ œ๊ฑฐ
k000927 Aug 22, 2024
efd09a7
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
8a83fb8
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
160b427
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
3bc403d
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
cb8f32a
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
ca1dfaa
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ž‘์„ฑ
k000927 Aug 22, 2024
48b20ab
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
a1eec52
feat: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž์˜ ์ตœ์ข… ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” result DTO ์ž‘์„ฑ
k000927 Aug 22, 2024
362d55b
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
a05a51e
chore: @Getter ์ถ”๊ฐ€
k000927 Aug 22, 2024
e6b2ea3
refactor: RushEventParticipantResponseDto์˜ result ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
83b9ca6
refactor: RushEventParticipantResponseDto์˜ result ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“ฑ[์ ์šฉ
k000927 Aug 22, 2024
faf7351
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
ea774b9
refactor: ๋ฉ”์„œ๋“œ ์œ„์น˜ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
ba87f76
refactor: LotteryEventWinnerListResponseDto ํ•„๋“œ ๊ฐ’ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
168bd8e
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ์˜ ๋‹น์ฒจ์ž ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋Š” winner ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
13270f1
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ์˜ ๋‹น์ฒจ์ž ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋Š” winner ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
58d9ca0
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
a996333
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
61596e2
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
9f1ac2e
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
746d7fd
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์˜ค๋ฒ„๋กœ๋”ฉ
k000927 Aug 22, 2024
65dc002
refactor: ๋ฏธ์‚ฌ์šฉ ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
cbd9dba
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” RushEventResultResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
f1ea61a
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
1d69843
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
e05e949
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
81e913f
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
8a14465
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
1ea5e45
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
95ebeda
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
59a372a
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ๋“ค ์‚ญ์ œ
k000927 Aug 22, 2024
21a4675
feat: ์ œ๋„ค๋ฆญ ํด๋ž˜์Šค๋ฅผ ์ด์šฉํ•˜์—ฌ ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ DTO ์ž‘์„ฑ
k000927 Aug 22, 2024
f7beb57
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
1df63ec
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
1b6f28f
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
80f7378
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
21f9709
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
a4578ad
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
8d64465
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
c0ca3ff
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
96467e9
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
568a860
refactor: ํด๋” ๊ตฌ์กฐ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
87d3a4f
chore: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ˆ˜์ •
k000927 Aug 22, 2024
d3b1b1c
chore: @JsonInclude ์ถ”๊ฐ€
k000927 Aug 22, 2024
7f8522c
Merge pull request #223 from softeerbootcamp4th/feature/#203-rush-eveโ€ฆ
k000927 Aug 22, 2024
af3a044
chore: Conflict ํ•ด๊ฒฐ
k000927 Aug 22, 2024
1e82bc5
Merge remote-tracking branch 'origin/feat/#217-refactoring-response-dโ€ฆ
k000927 Aug 22, 2024
83c5d6d
Merge branch 'dev' into feat/#217-refactoring-response-dto
k000927 Aug 22, 2024
1bfb128
test: ํ…Œ์ŠคํŠธ์— ๋ฐ”๋€ ์บ์‹ฑ ์ ์šฉ
k000927 Aug 22, 2024
9fb9dec
chore: ResponseMessage ์ ์šฉ
k000927 Aug 22, 2024
f497107
refactoring: LotteryEventResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
907e5b6
refactor: LotteryEventResponse ๊ต์ฒด
k000927 Aug 22, 2024
d1cfff1
refactor: LotteryEventResponse ๊ต์ฒด
k000927 Aug 22, 2024
9864e87
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
3d38d20
refactor: withDetail ๋ฉ”์„œ๋“œ ์ถ”๊ฐ€
k000927 Aug 22, 2024
5c16681
refactor: final ์‚ญ์ œ
k000927 Aug 22, 2024
e8334ec
refactor: withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
9ca9347
refactor: ๋ฐ”๋€ dto์— ๋งž๋„๋ก ์ฝ”๋“œ ์ˆ˜์ •
k000927 Aug 22, 2024
0bb045d
refactor: withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
fd7d822
refactor: ๋ฐ”๋€ ์ฝ”๋“œ์— ๋งž๋„๋ก ์ฝ”๋“œ ์ˆ˜์ •
k000927 Aug 22, 2024
2a326e2
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
4bd5653
refactor: withExpectation ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
3731236
refactor: withExpectation ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
613cf64
refactor: withExpectation ๋ฉ”์„œ๋“œ ์ ์šฉ ๋ฐ ์ฝ”๋“œ ๊ฐ„์†Œํ™”
k000927 Aug 22, 2024
f2cda43
refactor: withExpectation ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
b0c056b
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
f608d55
chore: CasperBotResponseDto response ํŒจํ‚ค์ง€๋กœ ์ด๋™
k000927 Aug 22, 2024
7a1fb78
refactor: LotteryEventParticipantResponseDto ํด๋ž˜์Šค ์ƒ์„ฑ
k000927 Aug 22, 2024
905431a
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ƒ์„ฑ
k000927 Aug 22, 2024
0fd7a84
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
bf1f4c7
feat: @Getter ์ ์šฉ
k000927 Aug 22, 2024
ccd096e
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ ์šฉ
k000927 Aug 22, 2024
1f0a6ff
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
d44f884
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
c97a859
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
dd30bd1
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ ์šฉ
k000927 Aug 22, 2024
e030176
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
d6a51b9
refactor: ์ถ”์ฒจ์ด๋ฒคํŠธ์™€ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ DTO ํŒจํ‚ค์ง€ ๋ถ„๋ฆฌ
k000927 Aug 22, 2024
7882bf9
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” RushOptionResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
34eeb89
refactor: ํด๋ž˜์Šค ์ด๋ฆ„ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
2403cfd
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
5392b6b
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ 
k000927 Aug 22, 2024
6129eb9
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
da5edcc
chore: ๋ฉ”์ธ์— ๋„์šธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” inMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
043ced2
feat: ๊ฒฐ๊ณผ์ฐฝ ๋„์šธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” inMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
5957119
feat: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
d343af3
feat: ๋ฉ”์ธ ํŽ˜์ด์ง•์š” ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withMain ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
fc424c2
feat: ์„ ์ฐฉ์ˆœ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withOptions ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
c6995b0
feat: ๋ฉ”์ธ ํŽ˜์ด์ง€์šฉ ์„ ํƒ์ง€ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withMainOption ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
2c14f63
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
b188e51
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
bfacaf4
refactor: ์ปจํŠธ๋กค๋Ÿฌ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
5ce361b
refactor: ํ…Œ์ŠคํŠธ์ฝ”๋“œ์— RushEventResponseDto์˜ withDetail ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
df1a553
feat: @Getter ์ ์šฉ
k000927 Aug 22, 2024
dedaedd
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
0c591bc
chore: RushEventListResponseDto ๊ตฌ์กฐ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
da687d7
refactor: RushEventResponseDto withMain๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
2cfa25a
refactor: RushEventResponseDto withMain๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
4cbf62a
refactor: RushEventResponseDto withMain ๋ฉ”์„œ๋“œ ์˜ค๋ฒ„๋กœ๋“œ
k000927 Aug 22, 2024
a07b033
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
3761cb0
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
fbd21ce
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
a9bfdd5
refactor: RushEventResponseDto์˜ withOptions ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
7faed9d
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
f2c77ac
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์ œ๊ฑฐ
k000927 Aug 22, 2024
1a8e184
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
b355789
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
c2170d4
refactor: RushEventResponseDto์˜ withMainOption ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ํ…Œ์ŠคํŠธ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
0f04454
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
ca0ca64
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
473c0ff
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ž‘์„ฑ
k000927 Aug 22, 2024
b6fb509
feat: RushEventResponseDto์˜ of ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
98c114e
feat: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž์˜ ์ตœ์ข… ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” result DTO ์ž‘์„ฑ
k000927 Aug 22, 2024
2bbdf05
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
6c6bd09
chore: @Getter ์ถ”๊ฐ€
k000927 Aug 22, 2024
8521292
refactor: RushEventParticipantResponseDto์˜ result ๋ฉ”์„œ๋“œ ์ ์šฉ
k000927 Aug 22, 2024
1bbda85
refactor: RushEventParticipantResponseDto์˜ result ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“ฑ[์ ์šฉ
k000927 Aug 22, 2024
feae957
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
5a71934
refactor: ๋ฉ”์„œ๋“œ ์œ„์น˜ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
6ba0197
refactor: LotteryEventWinnerListResponseDto ํ•„๋“œ ๊ฐ’ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
c3f2775
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ์˜ ๋‹น์ฒจ์ž ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋Š” winner ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
83ca022
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ์˜ ๋‹น์ฒจ์ž ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋Š” winner ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
2085c67
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
d989512
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
76f98c5
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
1034ad3
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
60d5929
refactor: ์„ ํƒ์ง€ ๊ฒฐ๊ณผ์ฐฝ ์ •๋ณด๋ฅผ ์กฐํšŒํ•˜๋Š” inResult ๋ฉ”์„œ๋“œ ์˜ค๋ฒ„๋กœ๋”ฉ
k000927 Aug 22, 2024
bc0f424
refactor: ๋ฏธ์‚ฌ์šฉ ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
1f12aa6
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” RushEventResultResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
c5a0c78
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
5a6b746
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
c9f715b
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ์˜ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์†Œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
6c2fefb
chore: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
bc86508
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์„œ๋น„์Šค ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
f447995
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์— ์ ์šฉ
k000927 Aug 22, 2024
5ede7b7
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ƒ์„ธ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์— ์ ์šฉ
k000927 Aug 22, 2024
eec8fb1
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ๋“ค ์‚ญ์ œ
k000927 Aug 22, 2024
0d8524b
feat: ์ œ๋„ค๋ฆญ ํด๋ž˜์Šค๋ฅผ ์ด์šฉํ•˜์—ฌ ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ DTO ์ž‘์„ฑ
k000927 Aug 22, 2024
b0b5a12
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
7dd0b28
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
cf0ba19
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ๊ฐ€์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
f3597da
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
c1abaa6
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
a1a8ddb
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋‹น์ฒจ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
2ab87f1
refactor: ์„œ๋น„์Šค ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
d2212e9
refactor: ์ปจํŠธ๋กค๋Ÿฌ ๋ ˆ์ด์–ด์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
a0808e1
refactor: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ์˜ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ ์ œ๋„ค๋ฆญ ๋ ˆ์ฝ”๋“œ ์‚ฌ์šฉํ•˜๋„๋ก ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
d397e22
refactor: ํด๋” ๊ตฌ์กฐ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
90ca732
chore: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ˆ˜์ •
k000927 Aug 22, 2024
be358ec
chore: @JsonInclude ์ถ”๊ฐ€
k000927 Aug 22, 2024
9eecab4
chore: Conflict ํ•ด๊ฒฐ
k000927 Aug 22, 2024
0c350f0
test: ํ…Œ์ŠคํŠธ์— ๋ฐ”๋€ ์บ์‹ฑ ์ ์šฉ
k000927 Aug 22, 2024
3e6cd81
refactoring: LotteryEventResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
51b65bc
refactor: LotteryEventResponse ๊ต์ฒด
k000927 Aug 22, 2024
70a4f38
refactor: LotteryEventResponse ๊ต์ฒด
k000927 Aug 22, 2024
ec46a90
refactor: withDetail ๋ฉ”์„œ๋“œ ์ถ”๊ฐ€
k000927 Aug 22, 2024
de02fcf
refactor: final ์‚ญ์ œ
k000927 Aug 22, 2024
23c60cd
refactor: withExpectation ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
32cc710
chore: Conflict ํ•ด๊ฒฐ
k000927 Aug 23, 2024
fd14c81
refactor: LotteryEventParticipantResponseDto ํด๋ž˜์Šค ์ƒ์„ฑ
k000927 Aug 22, 2024
3bebd09
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ƒ์„ฑ
k000927 Aug 22, 2024
1d9c8a1
feat: @Getter ์ ์šฉ
k000927 Aug 22, 2024
eca6362
refactor: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž์˜ ์ƒ์„ธ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” withDetail ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
4877f42
refactor: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 22, 2024
4a6a93c
refactor: ์ถ”์ฒจ์ด๋ฒคํŠธ์™€ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ DTO ํŒจํ‚ค์ง€ ๋ถ„๋ฆฌ
k000927 Aug 22, 2024
dcb4a5e
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” RushOptionResponseDto ์ž‘์„ฑ
k000927 Aug 22, 2024
8419eef
refactor: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ๋ฐ˜ํ™˜ํ•˜๋Š” of ๋ฉ”์„œ๋“œ ์ž‘์„ฑ
k000927 Aug 22, 2024
598ea78
feat: ์ œ๋„ค๋ฆญ ํด๋ž˜์Šค๋ฅผ ์ด์šฉํ•˜์—ฌ ํŽ˜์ด์ง€ ๋ฐ˜ํ™˜ DTO ์ž‘์„ฑ
k000927 Aug 22, 2024
1a88169
refactor: ํด๋” ๊ตฌ์กฐ ๋ณ€๊ฒฝ
k000927 Aug 22, 2024
74e6646
Merge remote-tracking branch 'origin/feat/#217-refactoring-response-dโ€ฆ
k000927 Aug 23, 2024
d8dd442
chore: ๋ฉ”์„œ๋“œ ์ด๋ฆ„ ๋ณ€๊ฒฝ
k000927 Aug 23, 2024
4d43447
refactor: ํ•„์š”์—†๋Š” ์„ ์–ธ ๋ถ€๋ถ„ ์‚ญ์ œ
k000927 Aug 23, 2024
0645104
refactor: <> ์ด์šฉํ•˜์—ฌ ์ฝ”๋“œ ๊ธธ์ด ์ค„
k000927 Aug 23, 2024
b37969a
refactor: ์“ฐ์ง€ ์•Š๋Š” ์ฝ”๋“œ ์‚ญ์ œ
k000927 Aug 23, 2024
43c9c84
refactor: isEqualTo(0) -> isZero()๋กœ ์ˆ˜์ •
k000927 Aug 23, 2024
b56a4b9
refactor: isEqualTo(0) -> isZero()๋กœ ์ˆ˜์ •
k000927 Aug 23, 2024
8884dc5
refactor: ๊ฒน์น˜๋Š” ๋ณ€์ˆ˜๋ช… ์ˆ˜์ •
k000927 Aug 23, 2024
3ded55a
refactor: Unused Import ๊ตฌ๋ฌธ ์‚ญ์ œ
k000927 Aug 23, 2024
1a618bf
refactor: Unused Import ๊ตฌ๋ฌธ ์‚ญ์ œ
k000927 Aug 23, 2024
60331ac
refactor: ๋ฐ˜ํ™˜๋˜์ง€ ์•Š๋Š” ์—๋Ÿฌ ์ œ๊ฑฐ
k000927 Aug 23, 2024
d13d4e5
fix: ์‹ค์‹œ๊ฐ„ ์‘๋ณด ๋น„์œจ ์กฐํšŒ ๋กœ์ง์—์„œ ํ•ด๋‹น ์œ ์ €๊ฐ€ ์„ ํƒํ•œ ์˜ต์…˜ ์กฐํšŒ ๋ถ€๋ถ„์— ๋กœ์ปฌ ์บ์‹ฑ ์ ์šฉ
wjddn2165 Aug 23, 2024
63f210a
Merge pull request #227 from softeerbootcamp4th/feature/#203-rush-eveโ€ฆ
k000927 Aug 23, 2024
2956c43
fix: ์ด ์ฐธ์—ฌ ํšŸ์ˆ˜ ์บ์‹ฑ๋˜๋„๋ก ์ˆ˜์ •
k000927 Aug 23, 2024
3a0867b
fix: ์ถ”์ฒจ ์ธ์› ๋ฐ˜์˜๋˜๋„๋ก ์ˆ˜์ •
k000927 Aug 23, 2024
d7edf4f
fix: lotteryEventRepository ์ถ”๊ฐ€
k000927 Aug 23, 2024
4fa9850
fix: ์ฐธ์—ฌ ํšŸ์ˆ˜๊ฐ€ ์•„๋‹Œ ์ฐธ์—ฌ ์ธ์›์œผ๋กœ ๋กœ์ง ์ˆ˜์ •
k000927 Aug 23, 2024
56c4e51
fix: callSuper = false ์ถ”๊ฐ€
k000927 Aug 23, 2024
a86a072
test: ์ถ”์ฒจ ์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
b33c536
test: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ด๋ฒคํŠธ๊ฐ€ ์—†์„ ๋•Œ, ์ถ”์ฒจ ์ด๋ฒคํŠธ ์กฐํšŒ ์‹คํŒจ ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
dc60886
test: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ด๋ฒคํŠธ๊ฐ€ 2๊ฐœ ์ด์ƒ์ผ ๋•Œ, ์ถ”์ฒจ ์ด๋ฒคํŠธ ์กฐํšŒ ์‹คํŒจ ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
fc4a82f
test: ์ถ”์ฒจ ์ด๋ฒคํŠธ ํŒจ์น˜ ์„ฑ๊ณต ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
2627628
test: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
bac2ca3
Merge branch 'dev' into feat/#217-refactoring-response-dto
wjddn2165 Aug 23, 2024
431fa1f
test: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ด๋ฒคํŠธ๊ฐ€ ์—†์„ ๋•Œ, ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์กฐํšŒ ์‹คํŒจ ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
a25a20b
Merge pull request #224 from softeerbootcamp4th/feat/#217-refactoringโ€ฆ
wjddn2165 Aug 23, 2024
a87ee3f
test: ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ด๋ฒคํŠธ๊ฐ€ 2๊ฐœ ์ด์ƒ์ผ ๋•Œ, ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์กฐํšŒ ์‹คํŒจ ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
38cb18c
test: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ „์ฒด ์กฐํšŒ ์„ฑ๊ณต ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
2df6c2d
test: ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์ „์ฒด ์„ธํŒ… ์„ฑ๊ณต ํ…Œ์ŠคํŠธ ์ž‘์„ฑ
k000927 Aug 23, 2024
be55c26
test: unnecessary qualification ์ œ
k000927 Aug 23, 2024
e54c111
Merge branch 'dev' into test/#228-caching-test
k000927 Aug 23, 2024
73d9acb
Merge pull request #229 from softeerbootcamp4th/test/#228-caching-test
wjddn2165 Aug 23, 2024
6983ef0
chore: conflict ํ•ด๊ฒฐ
k000927 Aug 23, 2024
fc6c829
Merge pull request #230 from softeerbootcamp4th/test/#228-caching-test
k000927 Aug 23, 2024
674075d
refactor: RequestDto -> request๋กœ ํŒจํ‚ค์ง€ ์ด๋ฆ„ ๋ณ€๊ฒฝ
k000927 Aug 23, 2024
451990e
refactor: totalAppliedCount ํ•„๋“œ ์‚ญ์ œ
k000927 Aug 23, 2024
4373e51
refactor: withDetail ํŒŒ๋ผ๋ฏธํ„ฐ ๋ณ€๊ฒฝ
k000927 Aug 23, 2024
b823e65
feat: ์ถ”์ฒจ ์ธ์› ์ˆ˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ์กฐํšŒํ•˜๋„๋ก ๋กœ์ง ์ˆ˜์ •
k000927 Aug 23, 2024
25cba11
feat: ๋ฐ”๋€ ์กฐํšŒ ๋กœ์ง ์ ์šฉ
k000927 Aug 23, 2024
e684461
Merge pull request #232 from softeerbootcamp4th/fix/#231-get-applied-โ€ฆ
k000927 Aug 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
/.idea/
/Server/out/
/Server/src/main/resources/application-local.yml
/Server/logs/
/logs/

7 changes: 5 additions & 2 deletions Server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-aop'
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'

implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'

implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0")
runtimeOnly 'com.h2database:h2'

testImplementation 'org.springframework.boot:spring-boot-starter-test'
Expand All @@ -49,6 +48,10 @@ dependencies {
annotationProcessor('org.projectlombok:lombok')
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.3'

// prometheus
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'

}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableAspectJAutoProxy
@EnableScheduling
@EnableCaching
public class CasperEventApplication {

public static void main(String[] args) {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package JGS.CasperEvent.domain.event.controller.eventController;


import JGS.CasperEvent.domain.event.dto.ResponseDto.TotalEventDateResponseDto;
import JGS.CasperEvent.domain.event.dto.response.TotalEventDateResponseDto;
import JGS.CasperEvent.domain.event.service.eventService.EventService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
Expand All @@ -19,6 +20,8 @@ public class EventController {
@GetMapping("/total")
public ResponseEntity<TotalEventDateResponseDto> getTotalEventDate() {
TotalEventDateResponseDto totalEventDateResponseDto = eventService.getTotalEventDate();
return ResponseEntity.ok(totalEventDateResponseDto);
return ResponseEntity
.status(HttpStatus.OK)
.body(totalEventDateResponseDto);
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package JGS.CasperEvent.domain.event.controller.eventController;

import JGS.CasperEvent.domain.event.dto.RequestDto.lotteryEventDto.CasperBotRequestDto;
import JGS.CasperEvent.domain.event.dto.ResponseDto.lotteryEventResponseDto.CasperBotResponseDto;
import JGS.CasperEvent.domain.event.dto.ResponseDto.lotteryEventResponseDto.LotteryEventResponseDto;
import JGS.CasperEvent.domain.event.dto.ResponseDto.lotteryEventResponseDto.LotteryParticipantResponseDto;
import JGS.CasperEvent.domain.event.service.redisService.RedisService;
import JGS.CasperEvent.domain.event.dto.request.lotteryEventDto.CasperBotRequestDto;
import JGS.CasperEvent.domain.event.dto.response.lottery.CasperBotResponseDto;
import JGS.CasperEvent.domain.event.dto.response.lottery.LotteryEventParticipantResponseDto;
import JGS.CasperEvent.domain.event.dto.response.lottery.LotteryEventResponseDto;
import JGS.CasperEvent.domain.event.service.redisService.LotteryEventRedisService;
import JGS.CasperEvent.domain.event.service.eventService.LotteryEventService;
import JGS.CasperEvent.global.entity.BaseUser;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
Expand All @@ -17,56 +21,73 @@
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import java.nio.file.attribute.UserPrincipalNotFoundException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

@Tag(name = "์ถ”์ฒจ ์ด๋ฒคํŠธ API", description = "์ถ”์ฒจ ์ด๋ฒคํŠธ (Lottery Event) ๊ด€๋ จ API ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค.")
@RestController
@RequestMapping("/event/lottery")
public class LotteryEventController {

private final LotteryEventService lotteryEventService;
private final RedisService redisService;
private final LotteryEventRedisService lotteryEventRedisService;

@Autowired
public LotteryEventController(LotteryEventService lotteryEventService, RedisService redisService) {
public LotteryEventController(LotteryEventService lotteryEventService, LotteryEventRedisService lotteryEventRedisService) {
this.lotteryEventService = lotteryEventService;
this.redisService = redisService;
this.lotteryEventRedisService = lotteryEventRedisService;
}

// ์ถ”์ฒจ ์ด๋ฒคํŠธ ์กฐํšŒ API
@Operation(summary = "์ถ”์ฒจ ์ด๋ฒคํŠธ ์กฐํšŒ", description = "ํ˜„์žฌ ์ง„ํ–‰ ์ค‘์ธ ์ถ”์ฒจ ์ด๋ฒคํŠธ์˜ ์ •๋ณด๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Lottery event retrieval successful"),
@ApiResponse(responseCode = "404", description = "No lottery event found in the database"),
@ApiResponse(responseCode = "409", description = "More than one lottery event exists in the database")
})
@GetMapping
public ResponseEntity<LotteryEventResponseDto> getLotteryEvent(){
public ResponseEntity<LotteryEventResponseDto> getLotteryEvent() {
return ResponseEntity
.status(HttpStatus.OK)
.body(lotteryEventService.getLotteryEvent());
}

// ์บ์Šคํผ ๋ด‡ ์ƒ์„ฑ API
@Operation(summary = "์บ์Šคํผ ๋ด‡ ์ƒ์„ฑ", description = "์ƒˆ๋กœ์šด ์บ์Šคํผ ๋ด‡์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "201", description = "Casper bot creation successful"),
@ApiResponse(responseCode = "404", description = "No lottery event found in the database"),
@ApiResponse(responseCode = "409", description = "More than one lottery event exists in the database")
})
@PostMapping("/casperBot")
public ResponseEntity<CasperBotResponseDto> postCasperBot(
HttpServletRequest request,
@RequestBody @Valid CasperBotRequestDto postCasperBot) throws NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException {
@RequestBody @Valid CasperBotRequestDto postCasperBot) {
BaseUser user = (BaseUser) request.getAttribute("user");
return ResponseEntity
.status(HttpStatus.CREATED)
.body(lotteryEventService.postCasperBot(user, postCasperBot));
}

// ์‘๋ชจ ์—ฌ๋ถ€ ์กฐํšŒ API
@Operation(summary = "์‘๋ชจ ์—ฌ๋ถ€ ์กฐํšŒ", description = "ํ˜„์žฌ ์‚ฌ์šฉ์ž์˜ ์‘๋ชจ ์—ฌ๋ถ€๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Application status retrieval successful"),
@ApiResponse(responseCode = "404", description = "User has not applied")
})
@GetMapping("/applied")
public ResponseEntity<LotteryParticipantResponseDto> GetLotteryParticipant(HttpServletRequest request) throws UserPrincipalNotFoundException {
public ResponseEntity<LotteryEventParticipantResponseDto> getLotteryParticipant(HttpServletRequest request) {
BaseUser user = (BaseUser) request.getAttribute("user");
return ResponseEntity
.status(HttpStatus.OK)
.body(lotteryEventService.getLotteryParticipant(user));
}

// ์ตœ๊ทผ 100๊ฐœ ์บ์Šคํผ ๋ด‡ ์กฐํšŒ
@Operation(summary = "์ตœ๊ทผ 100๊ฐœ ์บ์Šคํผ ๋ด‡ ์กฐํšŒ", description = "์ตœ๊ทผ์— ์ƒ์„ฑ๋œ 100๊ฐœ์˜ ์บ์Šคํผ ๋ด‡์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Recent Casper bots retrieval successful")
})
@GetMapping("/caspers")
public ResponseEntity<List<CasperBotResponseDto>> getCasperBots() {
return ResponseEntity.status(HttpStatus.OK)
.body(redisService.getRecentData());
.body(lotteryEventRedisService.getRecentData());
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
package JGS.CasperEvent.domain.event.controller.eventController;


import JGS.CasperEvent.domain.event.dto.ResponseDto.rushEventResponseDto.*;
import JGS.CasperEvent.domain.event.dto.response.rush.RushEventListResponseDto;
import JGS.CasperEvent.domain.event.dto.response.rush.RushEventOptionResponseDto;
import JGS.CasperEvent.domain.event.dto.response.rush.RushEventResponseDto;
import JGS.CasperEvent.domain.event.dto.response.rush.RushEventResultResponseDto;
import JGS.CasperEvent.domain.event.service.eventService.RushEventService;
import JGS.CasperEvent.global.entity.BaseUser;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@Tag(name = "์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ API", description = "์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ (Rush Event) ๊ด€๋ จ API ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค.")
@RestController
@RequestMapping("/event/rush")
public class RushEventController {
Expand All @@ -17,62 +26,93 @@ public RushEventController(RushEventService rushEventService) {
this.rushEventService = rushEventService;
}

// ์ „์ฒด ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์กฐํšŒ
@Operation(summary = "๋ฉ”์ธํ™”๋ฉด ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๋ฆฌ์ŠคํŠธ ์กฐํšŒ", description = "๋ฉ”์ธํ™”๋ฉด์— ๋“ค์–ด๊ฐˆ ์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ 6๊ฐœ์™€ ์„œ๋ฒ„ ์‹œ๊ฐ„ ๋“ฑ์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "200", description = "Successfully retrieved the list of rush events.")
@GetMapping
public ResponseEntity<RushEventListResponseDto> getRushEventListAndServerTime() {
return ResponseEntity.ok(rushEventService.getAllRushEvents());
return ResponseEntity
.status(HttpStatus.OK)
.body(rushEventService.getAllRushEvents());
}

// ๋ฐธ๋Ÿฐ์Šค ๊ฒŒ์ž„ ์ฐธ์—ฌ ์—ฌ๋ถ€ ์กฐํšŒ
@Operation(summary = "์‘๋ชจ ์—ฌ๋ถ€ ์ฒดํฌ", description = "ํ•ด๋‹น ์œ ์ €๊ฐ€ ์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ์— ์‘๋ชจํ–ˆ๋Š”์ง€ ์—ฌ๋ถ€๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "200", description = "Successfully checked user participation.")
@GetMapping("/applied")
public ResponseEntity<Boolean> checkUserParticipationInRushEvent(HttpServletRequest httpServletRequest) {
BaseUser user = (BaseUser) httpServletRequest.getAttribute("user");
return ResponseEntity.ok(rushEventService.isExists(user.getId()));
return ResponseEntity
.status(HttpStatus.OK)
.body(rushEventService.isExists(user.getPhoneNumber()));
}

// ๋ฐธ๋Ÿฐ์Šค ๊ฒŒ์ž„ ์‘๋ชจ
@Operation(summary = "์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ์‘๋ชจ", description = "ํ•ด๋‹น ์œ ์ €๊ฐ€ ์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ์— ์‘๋ชจํ•ฉ๋‹ˆ๋‹ค. optionId ๊ฐ’์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. optionId ๊ฐ’์ด 1์ด๋ฉด ์™ผ์ชฝ ์„ ํƒ์ง€, 2์ด๋ฉด ์˜ค๋ฅธ์ชฝ ์„ ํƒ์ง€์— ์‘๋ชจํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "204", description = "Successfully applied for the rush event."),
@ApiResponse(responseCode = "400", description = "Invalid option ID provided."),
@ApiResponse(responseCode = "401", description = "Unauthorized to apply for the event.")
})
@PostMapping("/options/{optionId}/apply")
public ResponseEntity<Void> applyRushEvent(HttpServletRequest httpServletRequest, @PathVariable("optionId") int optionId) {
BaseUser user = (BaseUser) httpServletRequest.getAttribute("user");
rushEventService.apply(user, optionId);

return ResponseEntity.noContent().build();
return ResponseEntity
.status(HttpStatus.NO_CONTENT)
.build();
}

// ๋ฐธ๋Ÿฐ์Šค ๊ฒŒ์ž„ ๋น„์œจ ์กฐํšŒ
@Operation(summary = "์‹ค์‹œ๊ฐ„ ์‘๋ชจ ๋น„์œจ ์กฐํšŒ", description = "์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ณ€๊ฒฝ๋˜๋Š” ์‘๋ชจ ๋น„์œจ์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "200", description = "Successfully retrieved the balance rate.")
@GetMapping("/balance")
public ResponseEntity<RushEventRateResponseDto> rushEventRate(HttpServletRequest httpServletRequest) {
public ResponseEntity<RushEventResultResponseDto> rushEventRate(HttpServletRequest httpServletRequest) {
BaseUser user = (BaseUser) httpServletRequest.getAttribute("user");
RushEventRateResponseDto rushEventRateResponseDto = rushEventService.getRushEventRate(user);
return ResponseEntity.ok(rushEventRateResponseDto);
RushEventResultResponseDto rushEventRateResponseDto = rushEventService.getRushEventRate(user);
return ResponseEntity
.status(HttpStatus.OK)
.body(rushEventRateResponseDto);
}

// ๋ฐธ๋Ÿฐ์Šค ๊ฒŒ์ž„ ๊ฒฐ๊ณผ ์กฐํšŒ
@Operation(summary = "์„ ์ฐฉ์ˆœ ์ด๋ฒคํŠธ ๊ฒฐ๊ณผ๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.", description = "์ด๋ฒคํŠธ๊ฐ€ ๋๋‚˜๊ณ  ๋‚˜์„œ ์ตœ์ข… ๊ฒฐ๊ณผ๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "200", description = "Successfully retrieved the rush event result.")
@GetMapping("/result")
public ResponseEntity<RushEventResultResponseDto> rushEventResult(HttpServletRequest httpServletRequest) {
BaseUser user = (BaseUser) httpServletRequest.getAttribute("user");
RushEventResultResponseDto result = rushEventService.getRushEventResult(user);
return ResponseEntity.ok(result);
return ResponseEntity
.status(HttpStatus.OK)
.body(result);
}

// ๋ ˆ๋””์Šค์— ์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ ๋“ฑ๋ก ํ…Œ์ŠคํŠธ api
@Operation(summary = "์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ๋ฅผ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค.", description = "์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ๋ฅผ ์ „๋ถ€ ์ดˆ๊ธฐํ™”ํ•˜๊ณ , ์‘๋ชจ ์—ฌ๋ถ€๋„ ์ „๋ถ€ ์ดˆ๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "204", description = "Successfully set today's event in Redis.")
@GetMapping("/today/test")
public ResponseEntity<Void> setTodayEvent() {
rushEventService.setTodayEventToRedis();
return ResponseEntity.noContent().build();
rushEventService.setRushEvents();
return ResponseEntity
.status(HttpStatus.NO_CONTENT)
.build();
}

// ์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ ์„ ํƒ์ง€ ์กฐํšŒ
@Operation(summary = "์˜ค๋Š˜์˜ ์ด๋ฒคํŠธ ์˜ต์…˜์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.", description = "์ด๋ฒคํŠธ ์ฐธ์—ฌ์ž๊ฐ€ ์ด๋ฒคํŠธ์— ์ง„์ž…ํ–ˆ์„ ๋•Œ ๋ณด์—ฌ์งˆ ์˜ต์…˜ ์„ ํƒ์ง€ ์ •๋ณด๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponse(responseCode = "200", description = "Successfully retrieved today's rush event options.")
@GetMapping("/today")
public ResponseEntity<MainRushEventOptionsResponseDto> getTodayEvent() {
MainRushEventOptionsResponseDto mainRushEventOptionsResponseDto = rushEventService.getTodayRushEventOptions();
return ResponseEntity.ok(mainRushEventOptionsResponseDto);
public ResponseEntity<RushEventResponseDto> getTodayEvent() {
RushEventResponseDto mainRushEventOptionsResponseDto = rushEventService.getTodayRushEventOptions();
return ResponseEntity
.status(HttpStatus.OK)
.body(mainRushEventOptionsResponseDto);
}

// ์˜ต์…˜ ์„ ํƒ ๊ฒฐ๊ณผ ์กฐํšŒ
@Operation(summary = "์˜ต์…˜์˜ ๊ฒฐ๊ณผ Text๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.", description = "์œ ์ €๊ฐ€ ์‘๋ชจ๋ฅผ ํ–ˆ์„ ๋•Œ ๋ณด์—ฌ์งˆ ์˜ต์…˜์˜ ์ƒ์„ธ Text๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Successfully retrieved the option result."),
@ApiResponse(responseCode = "400", description = "Invalid option ID provided.")
})
@GetMapping("/options/{optionId}/result")
public ResponseEntity<ResultRushEventOptionResponseDto> getResultOption(@PathVariable("optionId") int optionId) {
ResultRushEventOptionResponseDto resultRushEventOptionResponseDto = rushEventService.getRushEventOptionResult(optionId);
return ResponseEntity.ok(resultRushEventOptionResponseDto);
public ResponseEntity<RushEventOptionResponseDto> getResultOption(@PathVariable("optionId") int optionId) {
RushEventOptionResponseDto resultRushEventOptionResponseDto = rushEventService.getRushEventOptionResult(optionId);
return ResponseEntity
.status(HttpStatus.OK)
.body(resultRushEventOptionResponseDto);
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading