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

Fix/avatar list response #99

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
public enum AvatarTheme {
NOOB_CHICK("신입 병아리"),
TWINKLING_TEDDY_BEAR("눈을 반짝이는 곰돌이"),
CUTE_BUNNY("깜찍한 토끼");
CUTE_BUNNY("깜찍한 토끼"),
GLUTTON_PANDA("먹보 판다"),
RAINY_DAY_PUPPY("비오는 날 강아지"),
PHILOSOPHER_RACCOON("철학자 너구리")
;

private final String value;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ public class UserAvatarData {
@Schema(description = "아바타 테마 이름")
private String theme;

@Schema(description = "가격")
private int price;

@Schema(description = "해금 레벨")
private int unlockLevel;

Expand Down
20 changes: 13 additions & 7 deletions src/main/resources/migration/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,16 @@ INSERT INTO mission_object (id, name, kr, icon, is_active, mission_id)
VALUES (67, 'surprise', '놀란 표정', '?', 1, 3);


-- 아바타 (임시)
INSERT INTO avatar (id, theme, price, unlock_level, created_at)
VALUES (1, 'NOOB_CHICK', 0, 1, '2023-10-07 20:35:51');
INSERT INTO avatar (id, theme, price, unlock_level, created_at)
VALUES (2, 'TWINKLING_TEDDY_BEAR', 1500, 15, '2023-10-21 03:24:06');
INSERT INTO avatar (id, theme, price, unlock_level, created_at)
VALUES (3, 'CUTE_BUNNY', 1500, 30, '2023-10-21 03:24:06');
-- 아바타
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (1, 'NOOB_CHICK', 1, '2023-10-07 20:35:51');
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (2, 'TWINKLING_TEDDY_BEAR', 15, '2023-10-21 03:24:06');
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (3, 'CUTE_BUNNY', 30, '2023-10-21 03:24:06');
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (4, 'GLUTTON_PANDA', 45, '2024-02-19 23:20:00');
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (5, 'RAINY_DAY_PUPPY', 60, '2024-02-19 23:21:09');
INSERT INTO avatar (id, theme, unlock_level, created_at)
VALUES (6, 'PHILOSOPHER_RACCOON', 75, '2024-02-19 23:22:52');
Loading