-
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.
fix :: post request fix class -> record
- Loading branch information
Showing
5 changed files
with
16 additions
and
61 deletions.
There are no files selected for viewing
24 changes: 0 additions & 24 deletions
24
src/main/java/com/project/qvick/domain/check/client/dto/Check.java
This file was deleted.
Oops, something went wrong.
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
13 changes: 3 additions & 10 deletions
13
src/main/java/com/project/qvick/domain/post/client/dto/request/PostDeleteRequest.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,12 +1,5 @@ | ||
package com.project.qvick.domain.post.client.dto.request; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class PostDeleteRequest { | ||
|
||
private Long postId; | ||
|
||
} | ||
public record PostDeleteRequest( | ||
Long postId | ||
){} |
17 changes: 5 additions & 12 deletions
17
src/main/java/com/project/qvick/domain/post/client/dto/request/PostEditRequest.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,14 +1,7 @@ | ||
package com.project.qvick.domain.post.client.dto.request; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class PostEditRequest { | ||
|
||
private Long postId; | ||
private String title; | ||
private String content; | ||
|
||
} | ||
public record PostEditRequest( | ||
Long postId, | ||
String title, | ||
String content | ||
){} |
15 changes: 4 additions & 11 deletions
15
src/main/java/com/project/qvick/domain/post/client/dto/request/PostRegisterRequest.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,13 +1,6 @@ | ||
package com.project.qvick.domain.post.client.dto.request; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class PostRegisterRequest { | ||
|
||
private String title; | ||
private String content; | ||
|
||
} | ||
public record PostRegisterRequest( | ||
String title, | ||
String content | ||
){} |