Fix home page design.

This commit is contained in:
Florian THIERRY
2024-06-05 10:05:02 +02:00
parent d3041cf03d
commit 2ba707c336
5 changed files with 57 additions and 24 deletions

View File

@@ -24,17 +24,17 @@ public class AuthorEntity {
private UUID id;
@Column(nullable = false)
private String pseudo;
// private String illustrationId;
private String photoId;
public AuthorEntity(Author author) {
this(
author.id(),
author.name()
// author.illustrationId()
author.name(),
author.photoId()
);
}
public Author toDomain() {
return new Author(id, pseudo, "image");
return new Author(id, pseudo, photoId);
}
}