Commit e52e200f by Rubén Ramírez

fix: [FuenteCapitulo]: Creado un constructor parametrizado

parent 118556db
......@@ -25,6 +25,13 @@ public class FuenteCapitulo {
@ManyToOne
@JoinColumn(name = "capitulo_id", nullable = false)
private Capitulo capitulo;
public FuenteCapitulo(String nombreFuente, String urlFuente, Capitulo capitulo) {
this.nombreFuente = nombreFuente;
this.urlFuente = urlFuente;
this.capitulo = capitulo;
}
}
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