-
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 #54 from Tave-13th-Project-Team-4-Fiurinee/feature…
…/model feat: 모델 서버와 연동 하여 데이터 받아 오는 코드 추가 작성
- Loading branch information
Showing
12 changed files
with
250 additions
and
15 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
23 changes: 23 additions & 0 deletions
23
src/main/java/com/example/fiurinee/domain/inputMessage/dto/FlowerColorDto.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,23 @@ | ||
package com.example.fiurinee.domain.inputMessage.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class FlowerColorDto { | ||
|
||
@JsonProperty("꽃") | ||
private String flowerName; | ||
|
||
@JsonProperty("선택한 색상") | ||
private String selectedColor; | ||
|
||
public FlowerColorDto(){} | ||
|
||
public FlowerColorDto(String flower, String selectedColor) { | ||
this.flowerName = flower; | ||
this.selectedColor = selectedColor; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/com/example/fiurinee/domain/inputMessage/dto/FlowerColorListResponseDto.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,21 @@ | ||
package com.example.fiurinee.domain.inputMessage.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
import java.util.List; | ||
|
||
@Getter | ||
@Setter | ||
public class FlowerColorListResponseDto { | ||
|
||
@JsonProperty("flower_color_list") | ||
private List<FlowerColorDto> flowerColorList; | ||
|
||
public FlowerColorListResponseDto(){} | ||
|
||
public FlowerColorListResponseDto(List<FlowerColorDto> flowerColorList) { | ||
this.flowerColorList = flowerColorList; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/com/example/fiurinee/domain/inputMessage/dto/RequestGptDto.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,19 @@ | ||
package com.example.fiurinee.domain.inputMessage.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RequestGptDto { | ||
|
||
private String user_input; | ||
private String flower_name; | ||
private String flower_mean; | ||
|
||
public RequestGptDto(){} | ||
|
||
public RequestGptDto(String user_input, String flower_name, String flower_mean) { | ||
this.user_input = user_input; | ||
this.flower_name = flower_name; | ||
this.flower_mean = flower_mean; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/com/example/fiurinee/domain/inputMessage/dto/RequestHarmonyDto.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,17 @@ | ||
package com.example.fiurinee.domain.inputMessage.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RequestHarmonyDto { | ||
|
||
private String flower_name; | ||
private String flower_mean; | ||
|
||
public RequestHarmonyDto(){} | ||
|
||
public RequestHarmonyDto(String flower_name, String flower_mean) { | ||
this.flower_name = flower_name; | ||
this.flower_mean = flower_mean; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/com/example/fiurinee/domain/inputMessage/dto/ResponseGptDto.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,15 @@ | ||
package com.example.fiurinee.domain.inputMessage.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class ResponseGptDto { | ||
|
||
private String flower_ment; | ||
|
||
public ResponseGptDto(){} | ||
|
||
public ResponseGptDto(String flower_ment) { | ||
this.flower_ment = flower_ment; | ||
} | ||
} |
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