Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: dto mapping 추가 #30

Merged
merged 1 commit into from
Jun 29, 2024
Merged

chore: dto mapping 추가 #30

merged 1 commit into from
Jun 29, 2024

Conversation

DongHyeonka
Copy link
Member

📌 관련 이슈

✨ PR 세부 내용

dto 인식하기 위한 JsonProperty설정

@DongHyeonka DongHyeonka marked this pull request as draft June 29, 2024 01:50
@DongHyeonka DongHyeonka self-assigned this Jun 29, 2024
@DongHyeonka DongHyeonka requested a review from joon6093 June 29, 2024 01:51
Copy link
Member

@joon6093 joon6093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨어요~

Comment on lines +11 to +32
@JsonProperty("E")
private int E;
@NotNull(message = "I cannot be null")
@JsonProperty("I")
private int I;
@NotNull(message = "N cannot be null")
@JsonProperty("N")
private int N;
@NotNull(message = "S cannot be null")
@JsonProperty("S")
private int S;
@NotNull(message = "T cannot be null")
@JsonProperty("T")
private int T;
@NotNull(message = "F cannot be null")
@JsonProperty("F")
private int F;
@NotNull(message = "P cannot be null")
@JsonProperty("P")
private int P;
@NotNull(message = "j cannot be null")
@JsonProperty("j")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

어떤 오류였나요??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

입력으로 들어오는 Json과 변수가 일치하지 않아서 그랬던 것 같습니다.

@joon6093 joon6093 marked this pull request as ready for review June 29, 2024 02:06
@joon6093 joon6093 merged commit a6ead68 into team-meot-ppo:main Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dto Mapping 문제 해결
2 participants