From ab04b0e37797cc5ea980813e8222c5d1e779973e Mon Sep 17 00:00:00 2001 From: Slawomir Wieczorek Date: Wed, 22 Jan 2025 13:54:03 +0100 Subject: [PATCH] HELLODATA-1881 - adjustments --- .../java/ch/bedag/dap/hellodata/docs/entities/User.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hello-data-subsystems/hello-data-dbt-docs/src/main/java/ch/bedag/dap/hellodata/docs/entities/User.java b/hello-data-subsystems/hello-data-dbt-docs/src/main/java/ch/bedag/dap/hellodata/docs/entities/User.java index d6cc127d..86601945 100644 --- a/hello-data-subsystems/hello-data-dbt-docs/src/main/java/ch/bedag/dap/hellodata/docs/entities/User.java +++ b/hello-data-subsystems/hello-data-dbt-docs/src/main/java/ch/bedag/dap/hellodata/docs/entities/User.java @@ -31,7 +31,6 @@ import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Size; import lombok.Getter; -import lombok.RequiredArgsConstructor; import lombok.Setter; import java.util.Collection; @@ -39,7 +38,6 @@ @Entity(name = "dbt_user") @Getter @Setter -@RequiredArgsConstructor public class User extends BaseEntity { @Column(unique = true) @@ -71,4 +69,9 @@ public class User extends BaseEntity { public User() {//NOSONAR } + + public User(String userName, String email) { + this.userName = userName; + this.email = email; + } }