splitted user registration into user, consents & bankaccount creation
This commit is contained in:
13
internal/models/consents.go
Normal file
13
internal/models/consents.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type Consent struct {
|
||||
FirstName string `json:"first_name"`
|
||||
LastName string `json:"last_name"`
|
||||
Email string `json:"email"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ConsentType string `json:"consent_type"`
|
||||
UserID int `json:"id"`
|
||||
}
|
||||
Reference in New Issue
Block a user