Skip to content

Commit

Permalink
chore: dto mapping 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
DongHyeonka committed Jun 29, 2024
1 parent 4e253bf commit 000ee2a
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
package org.meotppo.webti.dto.PropensityAnalysis;

import com.fasterxml.jackson.annotation.JsonProperty;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;

@Getter
public class PropensityAnalysisDto {
@NotNull(message = "E cannot be null")
@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")
private int j;
}

0 comments on commit 000ee2a

Please sign in to comment.