Commit 4c01afc4 authored by handolukats's avatar handolukats
Browse files

TEIS-1320 updated UpdateRiskFactorAssessmentDescriptionPublicDto

parent d72da1a5
......@@ -6,6 +6,7 @@ import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.UUID;
@Data
......@@ -17,5 +18,7 @@ public class UpdateRiskFactorAssessmentDescriptionPublicDto {
@NotNull
private UUID id;
private String name;
@Size(min = 3)
@NotNull
private String description;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment