-
Notifications
You must be signed in to change notification settings - Fork 2
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 #29 from 2024-ITEC0401/develop
Develop: 최종발표 전 완성 본 main 브랜치에 병합
- Loading branch information
Showing
18 changed files
with
253 additions
and
71 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
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/com/itec0401/backend/domain/clothing/dto/DeleteImageUri.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,14 @@ | ||
package com.itec0401.backend.domain.clothing.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class DeleteImageUri { | ||
private final String imageUri; | ||
|
||
@Builder | ||
public DeleteImageUri(String imageUri) { | ||
this.imageUri = imageUri; | ||
} | ||
} |
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
20 changes: 0 additions & 20 deletions
20
backend/src/main/java/com/itec0401/backend/domain/coordination/dto/CodiInfo.java
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
backend/src/main/java/com/itec0401/backend/domain/coordination/dto/CodiInfoWithImages.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,27 @@ | ||
package com.itec0401.backend.domain.coordination.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
import java.time.LocalDateTime; | ||
import java.util.List; | ||
|
||
@Getter | ||
public class CodiInfoWithImages { | ||
private final Long id; | ||
private final String name; | ||
private final String description; | ||
private final String hashtags; | ||
private final LocalDateTime createdAt; | ||
private final List<String> clothingImages; | ||
|
||
@Builder | ||
public CodiInfoWithImages(Long id, String name, String description, String hashtags, LocalDateTime createdAt, List<String> clothingImages) { | ||
this.id = id; | ||
this.name = name; | ||
this.description = description; | ||
this.hashtags = hashtags; | ||
this.createdAt = createdAt; | ||
this.clothingImages = clothingImages; | ||
} | ||
} |
7 changes: 4 additions & 3 deletions
7
...end/src/main/java/com/itec0401/backend/domain/coordination/dto/NLCodiRequestToSpring.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,18 +1,19 @@ | ||
package com.itec0401.backend.domain.coordination.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
public class NLCodiRequestToSpring { | ||
private final List<Long> clothing; | ||
private final String natural_language; | ||
|
||
@JsonCreator | ||
@Builder | ||
public NLCodiRequestToSpring(List<Long> clothing, String natural_language) { | ||
this.clothing = clothing; | ||
public NLCodiRequestToSpring(@JsonProperty("natural_language") String natural_language) { | ||
this.natural_language = natural_language; | ||
} | ||
} |
Oops, something went wrong.