Skip to content
Snippets Groups Projects
Commit 5072e46f authored by Filip Piták's avatar Filip Piták
Browse files

remove validation

parent 2e067547
No related branches found
No related tags found
No related merge requests found
package cz.muni.pa165.banking.domain.account; package cz.muni.pa165.banking.domain.account;
import cz.muni.pa165.banking.domain.scheduled.ScheduledPayment; import cz.muni.pa165.banking.domain.scheduled.ScheduledPayment;
import jakarta.validation.Valid;
import java.util.List; import java.util.List;
...@@ -12,7 +11,7 @@ public class Account { ...@@ -12,7 +11,7 @@ public class Account {
private Long userId; private Long userId;
private Integer maxSpendingLimit; private Integer maxSpendingLimit;
private AccountType type; private AccountType type;
private @Valid List<ScheduledPayment> scheduledPayments; private List<ScheduledPayment> scheduledPayments;
public Account(){} public Account(){}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment