Commit 498b417e by Rubén Ramírez

feat: [DTOBibliotecaPersonal]: Creado dto necesario para las funcionalidades

parent 1ad6a309
package com.ujaen.tfg.mangaffinity.rest.DTO;
import com.ujaen.tfg.mangaffinity.entidades.BibliotecaPersonal;
public class DTOBibliotecaPersonal {
private Long id;
private Long usuarioId;
public DTOBibliotecaPersonal(BibliotecaPersonal biblioteca) {
this.id = biblioteca.getId();
this.usuarioId = biblioteca.getUsuario().getId();
}
}
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