Author
}
Atualizado
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class Author {
private String id;
private String name;
public Author(User entity) {
this.id = entity.getId();
this.name = entity.getName();
}
}
Atualizado