From 43515ab3741da57523975341bde7fc4fdf05ac4b Mon Sep 17 00:00:00 2001 From: Angel Baro Date: Thu, 16 May 2024 16:51:15 +0200 Subject: [PATCH] Extends Uri entity in Location class --- src/main/java/cat/udl/eps/softarch/demo/domain/Location.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/Location.java b/src/main/java/cat/udl/eps/softarch/demo/domain/Location.java index 670f41b..97993f2 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/Location.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/Location.java @@ -11,7 +11,7 @@ @Data @Entity @EqualsAndHashCode(callSuper = false) -public class Location { +public class Location extends UriEntity { @OneToOne /*@NotNull*/ @JsonIdentityReference(alwaysAsId = true)