Skip to content

Commit

Permalink
gg
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrzz98 committed Feb 12, 2023
1 parent c73f774 commit fb949ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public class OrdenCompra implements Serializable {
@JsonProperty("ID_PROVEEDOR")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
@JsonIdentityReference(alwaysAsId = true)
@ManyToOne(fetch = FetchType.LAZY)
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name="ID_PROVEEDOR")
private Proveedor proveedor;

@JsonProperty("ID_CLIENTE")
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
@JsonIdentityReference(alwaysAsId = true)
@ManyToOne(fetch = FetchType.LAZY)
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name="ID_CLIENTE")
private Cliente cliente;

Expand Down

0 comments on commit fb949ca

Please sign in to comment.