diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/Admin.java b/src/main/java/cat/udl/eps/softarch/demo/domain/Admin.java index 8abad35a..5832287f 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/Admin.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/Admin.java @@ -1,4 +1,13 @@ package cat.udl.eps.softarch.demo.domain; -public class Admin { +import jakarta.persistence.Id; + +public class Admin extends UriEntity{ + @Id + Long id; + + @Override + public Long getId() { + return id; + } }