git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@24425 d1611594-4594-4d17-8e1d-87c2c4800839
parent
f7c0bb1722
commit
d899d3495a
|
@ -20,6 +20,9 @@ import javax.persistence.Table;
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
import javax.persistence.TemporalType;
|
import javax.persistence.TemporalType;
|
||||||
|
|
||||||
|
import org.hibernate.annotations.NotFound;
|
||||||
|
import org.hibernate.annotations.NotFoundAction;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Rafius
|
* @author Rafius
|
||||||
|
@ -46,6 +49,7 @@ public class TipoCortesiaDescuento implements Serializable {
|
||||||
private Integer usuarioId;
|
private Integer usuarioId;
|
||||||
@JoinColumn(name = "TIPOCORTESIA_ID", referencedColumnName = "TIPOCORTESIA_ID")
|
@JoinColumn(name = "TIPOCORTESIA_ID", referencedColumnName = "TIPOCORTESIA_ID")
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
|
@NotFound(action=NotFoundAction.IGNORE)
|
||||||
private TipoCortesia tipoCortesia;
|
private TipoCortesia tipoCortesia;
|
||||||
|
|
||||||
public TipoCortesiaDescuento() {
|
public TipoCortesiaDescuento() {
|
||||||
|
|
Loading…
Reference in New Issue