Commit 393b172f by Joel Florentin

Merge remote-tracking branch 'origin/javi' into joel-001

parents 328574ad f14e47ae
package com.roshka.modelo; package com.roshka.modelo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name="postulante_tecnologia")
public class PostulanteTecnologia { public class PostulanteTecnologia {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id ;
@Column(name="nivel")
private Long nivel;
@Column(name="tecnologia")
@ManyToOne()
@JoinColumn
private Tecnologia tecnologia;
@Column(name="postulante")
@ManyToOne()
@JoinColumn
private Postulante postulante;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public Long getNivel() {
return nivel;
}
public void setNivel(Long nivel) {
this.nivel = nivel;
}
public Tecnologia getTecnologia() {
return tecnologia;
}
public void setTecnologia(Tecnologia tecnologia) {
this.tecnologia = tecnologia;
}
public Postulante getPostulante() {
return postulante;
}
public void setPostulante(Postulante postulante) {
this.postulante = postulante;
}
} }
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 to comment