-
Notifications
You must be signed in to change notification settings - Fork 1
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
[POM-94] feat: image 관련 mappedSuperclass로 분리, menu 도메인 엔티티 validation 및 전체적 구조 설정 #43
Conversation
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.
👍
|
||
private final MenuService menuService; | ||
|
||
@PostMapping({"{storeId}"}) |
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.
중괄호로 한번 더 감싼 이유가 있나요?
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.
중괄호 잘못 들어갔네요 ㅋㅋ
src/main/java/com/ray/pominowner/menu/controller/MenuController.java
Outdated
Show resolved
Hide resolved
src/main/java/com/ray/pominowner/global/domain/BaseFileEntity.java
Outdated
Show resolved
Hide resolved
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.
👍
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.
🍫 궁금한 점 하나 남겼어요
private String uploadName; | ||
|
||
private String fileName; | ||
|
||
@ManyToOne(fetch = LAZY) | ||
@JoinColumn(name = "STORE_ID") | ||
private Store store; | ||
|
||
@Builder | ||
private StoreImage(String path, String uploadName, String fileName, Store store) { |
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.
이 private 생성자는 어디에서 호출 되나요?
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.
호출 안되고 builder로만 사용하려고 막아놓은거에요
📌 설명