gleimar 2013-02-18 21:51:36 +00:00
parent f7c0bb1722
commit d899d3495a
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,9 @@ import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
/**
*
* @author Rafius
@ -46,6 +49,7 @@ public class TipoCortesiaDescuento implements Serializable {
private Integer usuarioId;
@JoinColumn(name = "TIPOCORTESIA_ID", referencedColumnName = "TIPOCORTESIA_ID")
@ManyToOne
@NotFound(action=NotFoundAction.IGNORE)
private TipoCortesia tipoCortesia;
public TipoCortesiaDescuento() {