-
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.
Merge pull request #69 from HyeJiJUN11/feature/59-diary
feat: 다이어리 기능/오류 수정 및 친한친구 기능 삭제
- Loading branch information
Showing
11 changed files
with
83 additions
and
73 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
31 changes: 31 additions & 0 deletions
31
src/main/java/com/potatocake/everymoment/dto/request/DiaryPatchRequest.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,31 @@ | ||
package com.potatocake.everymoment.dto.request; | ||
|
||
import com.potatocake.everymoment.dto.LocationPoint; | ||
import jakarta.validation.constraints.Size; | ||
import java.util.List; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class DiaryPatchRequest { | ||
|
||
private Boolean deleteAllCategories; | ||
private Boolean locationNameDelete; | ||
private Boolean addressDelete; | ||
private Boolean emojiDelete; | ||
private Boolean contentDelete; | ||
|
||
private List<CategoryRequest> categories; | ||
|
||
@Size(max = 50, message = "장소명은 50자를 초과할 수 없습니다") | ||
private String locationName; | ||
|
||
@Size(max = 200, message = "주소는 200자를 초과할 수 없습니다") | ||
private String address; | ||
|
||
@Size(max = 10, message = "이모지는 10자를 초과할 수 없습니다") | ||
private String emoji; | ||
|
||
@Size(max = 5000, message = "일기 내용은 5000자를 초과할 수 없습니다") | ||
private String content; | ||
|
||
} |
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
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
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