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 | 3 |
1 files changed, 3 insertions, 0 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 b9e54bfc..d9053f03 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 @@ -40,6 +40,7 @@ package org.onap.portal.domain.dto.transport; +import javax.validation.constraints.NotNull; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; @@ -51,7 +52,9 @@ import lombok.Setter; @AllArgsConstructor public class WidgetCatalogPersonalization { + @NotNull private Long widgetId; + @NotNull private Boolean select; } |