Commit c9248d2b by Rubén Ramírez

fix: [DTORecursoEnBiblioteca]: Añadido un constructor parametrizado

parent f5b918fe
...@@ -15,4 +15,11 @@ public class DTORecursoEnBiblioteca { ...@@ -15,4 +15,11 @@ public class DTORecursoEnBiblioteca {
private String titulo; private String titulo;
private Categoria categoria; private Categoria categoria;
private String fotoBase64; private String fotoBase64;
public DTORecursoEnBiblioteca(Long recursoId, String titulo, Categoria categoria) {
this.recursoId = recursoId;
this.titulo = titulo;
this.categoria = categoria;
this.fotoBase64 = null;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment