Skip to content
Snippets Groups Projects
Commit 75a2bdef authored by Andreas Kluge Svendsrud's avatar Andreas Kluge Svendsrud
Browse files

Merge branch 'feat/add-profile-banner-to-user' into 'master'

fix: use DTO for bank account

See merge request !84
parents 261b4104 aa4884e6
No related branches found
No related tags found
1 merge request!84fix: use DTO for bank account
Pipeline #283526 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 {
private Timestamp createdAt;
private String role;
private String subscriptionLevel;
private Long checkingAccountBBAN;
private Long savingsAccountBBAN;
private BankAccountResponseDTO checkingAccountBBAN;
private BankAccountResponseDTO savingsAccountBBAN;
private PointDTO point;
private StreakDTO streak;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment