diff --git a/src/main/java/com/napzak/domain/banner/core/entity/BannerTableConstants.java b/src/main/java/com/napzak/domain/banner/core/entity/BannerTableConstants.java index 51679fc..a0406b2 100644 --- a/src/main/java/com/napzak/domain/banner/core/entity/BannerTableConstants.java +++ b/src/main/java/com/napzak/domain/banner/core/entity/BannerTableConstants.java @@ -2,7 +2,7 @@ public class BannerTableConstants { public static final String TABLE_BANNER = "banner"; - public static final String COLUMN_ID = "banner_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_PHOTO_URL = "photo_url"; public static final String COLUMN_SEQUENCE = "sequence"; public static final String COLUMN_REDIRECT_URL = "redirect_url"; diff --git a/src/main/java/com/napzak/domain/chat/core/entity/ChatMessageTableConstants.java b/src/main/java/com/napzak/domain/chat/core/entity/ChatMessageTableConstants.java index c3d5bc4..a0e50d0 100644 --- a/src/main/java/com/napzak/domain/chat/core/entity/ChatMessageTableConstants.java +++ b/src/main/java/com/napzak/domain/chat/core/entity/ChatMessageTableConstants.java @@ -2,7 +2,7 @@ public class ChatMessageTableConstants { public static final String TABLE_CHAT_MESSAGE = "chat_message"; - public static final String COLUMN_ID = "message_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_CHAT_ROOM_ID = "chat_room_id"; public static final String COLUMN_CONTENT = "content"; public static final String COLUMN_CREATED_AT = "created_at"; diff --git a/src/main/java/com/napzak/domain/chat/core/entity/ChatRoomTableConstants.java b/src/main/java/com/napzak/domain/chat/core/entity/ChatRoomTableConstants.java index cee34ee..c69335d 100644 --- a/src/main/java/com/napzak/domain/chat/core/entity/ChatRoomTableConstants.java +++ b/src/main/java/com/napzak/domain/chat/core/entity/ChatRoomTableConstants.java @@ -2,7 +2,7 @@ public class ChatRoomTableConstants { public static final String TABLE_CHAT_ROOM = "chat_room"; - public static final String COLUMN_ID = "chat_room_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_CREATED_AT = "created_at"; public static final String COLUMN_UPDATED_AT = "updated_at"; public static final String COLUMN_PRODUCT_ID = "product_id"; diff --git a/src/main/java/com/napzak/domain/genre/core/entity/GenreTableConstants.java b/src/main/java/com/napzak/domain/genre/core/entity/GenreTableConstants.java index 78346c0..29a0f9e 100644 --- a/src/main/java/com/napzak/domain/genre/core/entity/GenreTableConstants.java +++ b/src/main/java/com/napzak/domain/genre/core/entity/GenreTableConstants.java @@ -2,7 +2,7 @@ public class GenreTableConstants { public static final String TABLE_GENRE = "genre"; - public static final String COLUMN_ID = "genre_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_NAME = "name"; public static final String COLUMN_PHOTO_URL = "photo_url"; } \ No newline at end of file diff --git a/src/main/java/com/napzak/domain/interest/core/entity/InterestTableConstants.java b/src/main/java/com/napzak/domain/interest/core/entity/InterestTableConstants.java index 878aeef..dbcf2ad 100644 --- a/src/main/java/com/napzak/domain/interest/core/entity/InterestTableConstants.java +++ b/src/main/java/com/napzak/domain/interest/core/entity/InterestTableConstants.java @@ -2,7 +2,7 @@ public class InterestTableConstants { public static final String TABLE_INTEREST = "interest"; - public static final String COLUMN_ID = "review_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_STORE_ID = "store_id"; public static final String COLUMN_PRODUCT_ID = "product_id"; } diff --git a/src/main/java/com/napzak/domain/product/core/entity/HashtagTableConstants.java b/src/main/java/com/napzak/domain/product/core/entity/HashtagTableConstants.java index a4cb292..1fc5449 100644 --- a/src/main/java/com/napzak/domain/product/core/entity/HashtagTableConstants.java +++ b/src/main/java/com/napzak/domain/product/core/entity/HashtagTableConstants.java @@ -2,6 +2,6 @@ public class HashtagTableConstants { public final static String TABLE_HASHTAG = "hashtag"; - public final static String COLUMN_ID = "hashtag_id"; + public final static String COLUMN_ID = "id"; public final static String COLUMN_NAME = "name"; } \ No newline at end of file diff --git a/src/main/java/com/napzak/domain/product/core/entity/ProductHashtagTableConstants.java b/src/main/java/com/napzak/domain/product/core/entity/ProductHashtagTableConstants.java index 10d397f..fad4911 100644 --- a/src/main/java/com/napzak/domain/product/core/entity/ProductHashtagTableConstants.java +++ b/src/main/java/com/napzak/domain/product/core/entity/ProductHashtagTableConstants.java @@ -2,7 +2,7 @@ public class ProductHashtagTableConstants { public final static String TABLE_PRODUCT_HASHTAG = "product_hashtag"; - public final static String COLUMN_ID = "product_hashtag_id"; + public final static String COLUMN_ID = "id"; public final static String COLUMN_PRODUCT_ID = "product_id"; public final static String COLUMN_HASHTAG_ID = "hashtag_id"; } \ No newline at end of file diff --git a/src/main/java/com/napzak/domain/product/core/entity/ProductPhotoTableConstants.java b/src/main/java/com/napzak/domain/product/core/entity/ProductPhotoTableConstants.java index 988d282..7511c3a 100644 --- a/src/main/java/com/napzak/domain/product/core/entity/ProductPhotoTableConstants.java +++ b/src/main/java/com/napzak/domain/product/core/entity/ProductPhotoTableConstants.java @@ -2,7 +2,7 @@ public class ProductPhotoTableConstants { public final static String TABLE_PRODUCT_PHOTO = "product_photo"; - public final static String COLUMN_ID = "column_id"; + public final static String COLUMN_ID = "id"; public final static String COLUMN_PRODUCT_ID = "product_id"; public final static String COLUMN_PHOTO_URL = "photo_url"; public final static String COLUMN_SEQUENCE = "sequence"; diff --git a/src/main/java/com/napzak/domain/review/core/entity/ReviewTableConstants.java b/src/main/java/com/napzak/domain/review/core/entity/ReviewTableConstants.java index 1953a92..9fe9aa4 100644 --- a/src/main/java/com/napzak/domain/review/core/entity/ReviewTableConstants.java +++ b/src/main/java/com/napzak/domain/review/core/entity/ReviewTableConstants.java @@ -3,7 +3,7 @@ public class ReviewTableConstants { public static final String TABLE_REVIEW = "review"; - public static final String COLUMN_ID = "review_id"; + public static final String COLUMN_ID = "id"; public static final String COLUMN_RATE = "rate"; public static final String COLUMN_COMMENT = "comment"; public static final String COLUMN_CREATED_AT = "created_at"; diff --git a/src/main/java/com/napzak/domain/store/api/controller/StoreController.java b/src/main/java/com/napzak/domain/store/api/controller/StoreController.java index 84878da..08e6644 100644 --- a/src/main/java/com/napzak/domain/store/api/controller/StoreController.java +++ b/src/main/java/com/napzak/domain/store/api/controller/StoreController.java @@ -17,7 +17,7 @@ @RestController -@RequestMapping("api/stores") +@RequestMapping("api/v1/store") @RequiredArgsConstructor public class StoreController implements StoreApi { diff --git a/src/main/java/com/napzak/domain/store/core/entity/GenrePreferenceTableConstants.java b/src/main/java/com/napzak/domain/store/core/entity/GenrePreferenceTableConstants.java index cb86e36..c81d50b 100644 --- a/src/main/java/com/napzak/domain/store/core/entity/GenrePreferenceTableConstants.java +++ b/src/main/java/com/napzak/domain/store/core/entity/GenrePreferenceTableConstants.java @@ -3,7 +3,7 @@ public class GenrePreferenceTableConstants { public static final String TABLE_GENRE_PREFERENCE = "genre_preference"; - public static final String COLUMN_GENRE_PREFERENCE_ID = "genre_preference_id"; + public static final String COLUMN_GENRE_PREFERENCE_ID = "id"; public static final String COLUMN_STORE_ID = "store_id"; public static final String COLUMN_GENRE_ID = "genre_id";