-
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 #44 from DongHyeonka/main
chore : 이미지 추가 및 entity 조회를 dto 조회로 수정
- Loading branch information
Showing
6 changed files
with
56 additions
and
45 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
6 changes: 3 additions & 3 deletions
6
.../org/meotppo/webti/dto/file/ImageDto.java → ...otppo/webti/domain/dto/file/ImageDto.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
14 changes: 7 additions & 7 deletions
14
...nalysis/PropensityProfileResponseDto.java → ...nalysis/PropensityProfileResponseDto.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,23 +1,23 @@ | ||
package org.meotppo.webti.dto.propensityanalysis; | ||
package org.meotppo.webti.domain.dto.propensityanalysis; | ||
|
||
import lombok.Data; | ||
import org.meotppo.webti.domain.dto.file.ImageDto; | ||
import org.meotppo.webti.domain.entity.type.MbtiType; | ||
import org.meotppo.webti.dto.file.ImageDto; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Data | ||
public class PropensityProfileResponseDto { | ||
private String result; | ||
private String description; | ||
private MbtiType mbtiType; | ||
private ImageDto imageDto; | ||
|
||
@Builder | ||
public PropensityProfileResponseDto(String result, String description, MbtiType mbtiType, ImageDto imageDto) { | ||
public PropensityProfileResponseDto(String result, String description, MbtiType mbtiType, String imageUrl) { | ||
this.result = result; | ||
this.description = description; | ||
this.mbtiType = mbtiType; | ||
this.imageDto = imageDto; | ||
this.imageDto = ImageDto.builder().url(imageUrl).build(); | ||
} | ||
} | ||
} |
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