16 lines
613 B
Go
16 lines
613 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type BankAccount struct {
|
|
ID uint `gorm:"primaryKey"`
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
MandateDateSigned time.Time `gorm:"not null" json:"mandate_date_signed"`
|
|
Bank string `json:"bank_name" binding:"safe_content"`
|
|
AccountHolderName string `json:"account_holder_name" binding:"safe_content"`
|
|
IBAN string `json:"iban" binding:"safe_content"`
|
|
BIC string `json:"bic" binding:"safe_content"`
|
|
MandateReference string `gorm:"not null" json:"mandate_reference" binding:"safe_content"`
|
|
}
|