Skip to content
Snippets Groups Projects
Commit aa4884e6 authored by heikkkk's avatar heikkkk
Browse files

fix: use DTO for bank account

parent fc96a440
No related branches found
No related tags found
1 merge request!84fix: use DTO for bank account
Pipeline #283521 passed
package no.ntnu.idi.stud.savingsapp.dto.user;
import java.math.BigDecimal;
import lombok.Data;
@Data
public final class BankAccountResponseDTO {
private Long bban;
private BigDecimal balance;
}
...@@ -16,8 +16,8 @@ public class UserDTO { ...@@ -16,8 +16,8 @@ public class UserDTO {
private Timestamp createdAt; private Timestamp createdAt;
private String role; private String role;
private String subscriptionLevel; private String subscriptionLevel;
private Long checkingAccountBBAN; private BankAccountResponseDTO checkingAccountBBAN;
private Long savingsAccountBBAN; private BankAccountResponseDTO savingsAccountBBAN;
private PointDTO point; private PointDTO point;
private StreakDTO streak; private StreakDTO streak;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment