Skip to content

Commit 0e6595c

Browse files
committed
Added additional annotation to timeOffWorkDays
1 parent 11dd180 commit 0e6595c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sormas-api/src/main/java/de/symeda/sormas/api/symptoms/SymptomsDto.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,6 +2610,8 @@ public static SymptomsDto build() {
26102610
private YesNoUnknown parentTimeOffWork;
26112611

26122612
@Diseases(RESPIRATORY_SYNCYTIAL_VIRUS)
2613+
@DependantOn("parentTimeOffWork")
2614+
@Size(max = 50, message = Validations.textTooLong)
26132615
private String timeOffWorkDays;
26142616

26152617
private DiagnosisType diagnosis;

0 commit comments

Comments
 (0)