diff options
Diffstat (limited to 'portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java')
-rw-r--r-- | portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java b/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java index d9053f03..3625fed1 100644 --- a/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java +++ b/portal-BE/src/main/java/org/onap/portal/domain/dto/transport/WidgetCatalogPersonalization.java @@ -45,16 +45,18 @@ import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; +import lombok.ToString; @Getter @Setter +@ToString @NoArgsConstructor @AllArgsConstructor public class WidgetCatalogPersonalization { - @NotNull + @NotNull(message = "widgetId may not be null") private Long widgetId; - @NotNull + @NotNull(message = "select may not be null") private Boolean select; } |