-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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 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 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
17 changes: 17 additions & 0 deletions
17
src/main/java/ac/kr/deu/connect/luck/food_truck/FoodTruckMenuRequest.java
This file contains 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,17 @@ | ||
package ac.kr.deu.connect.luck.food_truck; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record FoodTruckMenuRequest( | ||
@Schema(description = "메뉴 이름", example = "맛있는 푸드트럭") | ||
String name, | ||
@Schema(description = "메뉴 설명", example = "맛있는 음식") | ||
String description, | ||
@Schema(description = "메뉴 사진 URL", example = "https://picsum.photos/1600/900") | ||
String imageUrl, | ||
@Schema(description = "가격", example = "10000") | ||
int price, | ||
@Schema(description = "트럭 ID", example = "1") | ||
Long foodTruckId | ||
) { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/ac/kr/deu/connect/luck/food_truck/FoodTruckRequest.java
This file contains 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 |
---|---|---|
@@ -1,10 +1,17 @@ | ||
package ac.kr.deu.connect.luck.food_truck; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record FoodTruckRequest( | ||
@Schema(description = "푸드트럭 이름", example = "맛있는 푸드트럭") | ||
String name, | ||
@Schema(description = "푸드트럭 설명", example = "맛있는 음식") | ||
String description, | ||
@Schema(description = "푸드트럭 이미지 URL", example = "https://picsum.photos/1600/900") | ||
String imageUrl, | ||
@Schema(description = "매니저 ID", example = "4") | ||
Long userId, | ||
@Schema(description = "음식 종류", example = "KOREAN") | ||
FoodType foodType | ||
) { | ||
} |
This file contains 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 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 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