-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from kko-bugi/feature/8-getProduceEditView
[feature/8-getProduceEditView] 판매글 수정 화면 조회 API
- Loading branch information
Showing
3 changed files
with
50 additions
and
1 deletion.
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
20 changes: 20 additions & 0 deletions
20
src/main/java/com/kkobugi/puremarket/produce/domain/dto/ProduceEditViewResponse.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,20 @@ | ||
package com.kkobugi.puremarket.produce.domain.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
@Schema(description = "판매글 수정 화면 조회 응답") | ||
public record ProduceEditViewResponse(@Schema(description = "글 제목", example = "판매글") | ||
String title, | ||
@Schema(description = "글 내용", example = "판매함니다~") | ||
String content, | ||
@Schema(description = "가격", example = "10000") | ||
Integer price, | ||
@Schema(description = "글 이미지 url", example = "https://dwffwdfdwbwv") | ||
String produceImage, | ||
@Schema(description = "닉네임", example = "꼬부기") | ||
String nickname, | ||
@Schema(description = "연락처", example = "01012345678") | ||
String contact, | ||
@Schema(description = "프로필 이미지 url", example = "https://dwffwdfdwbwv") | ||
String profileImage) { | ||
} |
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