-
Notifications
You must be signed in to change notification settings - Fork 3
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 #134 from tukcomCD2024/backend/feature/124-schedul…
…eImage-crud-api 사용자가 저장한 이미지를 일정 별로 Read, Delete 하는 API 구현
- Loading branch information
Showing
13 changed files
with
124 additions
and
41 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
19 changes: 0 additions & 19 deletions
19
backend/src/main/java/com/isp/backend/domain/scheduleImage/dto/SaveScheduleImageRequest.java
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
.../main/java/com/isp/backend/domain/scheduleImage/dto/request/SaveScheduleImageRequest.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,10 @@ | ||
package com.isp.backend.domain.scheduleImage.dto.request; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class SaveScheduleImageRequest { | ||
private Long scheduleId; | ||
} |
13 changes: 13 additions & 0 deletions
13
...ain/java/com/isp/backend/domain/scheduleImage/dto/response/ReadScheduleImageResponse.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,13 @@ | ||
package com.isp.backend.domain.scheduleImage.dto.response; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
import java.util.Map; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class ReadScheduleImageResponse { | ||
private Long scheduleId; | ||
private Map<String, String> pathAndSaveDate; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
.../main/java/com/isp/backend/domain/scheduleImage/repository/ScheduleImageS3Repository.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
7 changes: 7 additions & 0 deletions
7
...rc/main/java/com/isp/backend/domain/scheduleImage/service/DeleteScheduleImageService.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,7 @@ | ||
package com.isp.backend.domain.scheduleImage.service; | ||
|
||
import org.springframework.http.ResponseEntity; | ||
|
||
public interface DeleteScheduleImageService { | ||
ResponseEntity<Void> delete(Long scheduleImageId); | ||
} |
7 changes: 7 additions & 0 deletions
7
.../src/main/java/com/isp/backend/domain/scheduleImage/service/ReadScheduleImageService.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,7 @@ | ||
package com.isp.backend.domain.scheduleImage.service; | ||
|
||
import com.isp.backend.domain.scheduleImage.dto.response.ReadScheduleImageResponse; | ||
|
||
public interface ReadScheduleImageService { | ||
ReadScheduleImageResponse read(Long scheduleId); | ||
} |
10 changes: 0 additions & 10 deletions
10
backend/src/main/java/com/isp/backend/domain/scheduleImage/service/SaveImageService.java
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
.../src/main/java/com/isp/backend/domain/scheduleImage/service/SaveScheduleImageService.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,10 @@ | ||
package com.isp.backend.domain.scheduleImage.service; | ||
|
||
import com.isp.backend.domain.scheduleImage.dto.request.SaveScheduleImageRequest; | ||
import com.isp.backend.domain.scheduleImage.dto.response.SaveScheduleImageResponse; | ||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
public interface SaveScheduleImageService { | ||
|
||
SaveScheduleImageResponse save(SaveScheduleImageRequest request, MultipartFile image); | ||
} |
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