splitted user registration into user, consents & bankaccount creation
This commit is contained in:
13
internal/models/bank_account.go
Normal file
13
internal/models/bank_account.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type BankAccount struct {
|
||||
MandateDateSigned time.Time `json:"mandate_date_signed"`
|
||||
Bank string `json:"bank_name"`
|
||||
AccountHolderName string `json:"account_holder_name"`
|
||||
IBAN string `json:"iban"`
|
||||
BIC string `json:"bic"`
|
||||
MandateReference string `json:"mandate_reference"`
|
||||
UserID int `json:"id"`
|
||||
}
|
||||
Reference in New Issue
Block a user