diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/SocialNetworks.java b/src/main/java/cat/udl/eps/softarch/demo/domain/SocialNetworks.java index 8c4f99ca..a4b7041f 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/SocialNetworks.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/SocialNetworks.java @@ -10,12 +10,12 @@ public class SocialNetworks extends UriEntity { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; - private String username; private String type; - private String url; + private String username; + private String uri; + @ManyToOne public Shelter belongsTo; - }