Skip to content

Commit

Permalink
Temp fix validation errors becuse of NotNull constraint in Order
Browse files Browse the repository at this point in the history
TODO: Figure out how to keep this constraint?
  • Loading branch information
07joshua03 committed May 5, 2024
1 parent ecaf4fc commit 7cebd72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/wisv/events/core/model/order/Order.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class Order {
* Field customer customer that order this.
*/
@ManyToOne
@NotNull
// @NotNull
private Customer owner;

/**
Expand All @@ -75,7 +75,7 @@ public class Order {
/**
* Field createdBy the name of the person who created the order.
*/
@NotNull
// @NotNull
private String createdBy;

/**
Expand Down

0 comments on commit 7cebd72

Please sign in to comment.