@@ -0,0 +1,713 @@
+package io.github.saidie.plantuml_api;%0A%0Aimport java.util.List;%0Aimport javax.persistence.CascadeType;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.GeneratedValue;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.OneToMany;%0Aimport javax.validation.constraints.NotNull;%0Aimport lombok.AllArgsConstructor;%0Aimport lombok.Data;%0Aimport lombok.NoArgsConstructor;%0A%0A@Entity%0A@Data%0A@NoArgsConstructor%0A@AllArgsConstructor%0Apublic class Account %7B%0A    @Id%0A    @GeneratedValue%0A    private long id;%0A%0A    @NotNull%0A    @Column(nullable = false)%0A    private String username;%0A%0A    @OneToMany(mappedBy = %22account%22, cascade = CascadeType.ALL)%0A    private List%3CFederation%3E federations;%0A%7D%0A

Add an account class