service and controller done

This commit is contained in:
Olivier PARPAILLON
2025-07-16 10:28:43 +02:00
parent b6242d0f2c
commit 9c24ef5b22
7 changed files with 100 additions and 2 deletions

View File

@@ -26,4 +26,8 @@ public class Facture {
@Column(name = "DATE_PAY")
private Date datePay;
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(name = "CLIENT_ID", nullable = false)
private Client client;
}