-
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.
- Loading branch information
1 parent
4e253bf
commit 000ee2a
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
api/src/main/java/org/meotppo/webti/dto/PropensityAnalysis/PropensityAnalysisDto.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,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; | ||
} |