Skip to content

Commit

Permalink
changed Admin implementation to extend UriEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
Antt02 committed Feb 20, 2024
1 parent 80a5460 commit 37ba3df
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/java/cat/udl/eps/softarch/demo/domain/Admin.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
package cat.udl.eps.softarch.demo.domain;

public class Admin {
import jakarta.persistence.Id;

public class Admin extends UriEntity<Long>{
@Id
Long id;

@Override
public Long getId() {
return id;
}
}

0 comments on commit 37ba3df

Please sign in to comment.